From c081751106ec607385bc8086d7c7c6a0046fb172 Mon Sep 17 00:00:00 2001 From: John Haugeland Date: Tue, 26 Dec 2023 11:08:54 -0800 Subject: [PATCH 1/9] good lord, wasn't that an unnecessary adventure? fixes StoneCypher/fsl#1260 --- CHANGELOG.long.md | 29 +++++- CHANGELOG.md | 49 ++++++----- README.md | 4 +- dist/deno/README.md | 4 +- dist/deno/jssm.js | 2 +- dist/es6/version.js | 2 +- dist/jssm.es5.cjs.js | 2 +- dist/jssm.es5.iife.js | 2 +- docs/docs/classes/jssm.Machine.html | 88 +++++++++---------- docs/docs/classes/jssm_error.JssmError.html | 2 +- docs/docs/modules/jssm.html | 18 ++-- docs/docs/modules/jssm_constants.html | 2 +- docs/docs/modules/jssm_types._internal_.html | 2 +- docs/docs/modules/jssm_types.html | 4 +- docs/docs/modules/jssm_util.html | 18 ++-- docs/docs/modules/version.html | 2 +- docs/docs/pages/CHANGELOG.long.html | 29 ++++-- ...dragon.config.js => jest-dragon.config.cjs | 0 jest-spec.config.js => jest-spec.config.cjs | 0 jest-stoch.config.js => jest-stoch.config.cjs | 0 ...icode.config.js => jest-unicode.config.cjs | 0 package-lock.json | 26 +++++- package.json | 26 +++--- .../{cloc_report.js => cloc_report.cjs} | 35 ++++---- src/buildjs/fixparser.js | 17 ++-- src/buildjs/make_readme.js | 32 +++---- src/buildjs/makever.js | 21 ++++- src/doc_md/CHANGELOG.long.md | 29 +++++- src/doc_md/CHANGELOG.md | 49 ++++++----- src/ts/version.ts | 4 +- typedoc-options.js => typedoc-options.cjs | 0 31 files changed, 303 insertions(+), 195 deletions(-) rename jest-dragon.config.js => jest-dragon.config.cjs (100%) rename jest-spec.config.js => jest-spec.config.cjs (100%) rename jest-stoch.config.js => jest-stoch.config.cjs (100%) rename jest-unicode.config.js => jest-unicode.config.cjs (100%) rename src/buildjs/{cloc_report.js => cloc_report.cjs} (86%) rename typedoc-options.js => typedoc-options.cjs (100%) diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index 8b2fc79c..200b4b38 100644 --- a/CHANGELOG.long.md +++ b/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1104 merges; 187 releases +1105 merges; 190 releases @@ -12,12 +12,29 @@ All notable changes to this project will be documented in this file. Published tags: -5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.90.1, 5.90.0, 5.89.6, 5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +  + +  + + + +## [5.90.1] - 10/25/2023 12:51:12 PM + +Commit [7de448cb8c28aea5001342fc10eae4e88636ecc5](https://github.com/StoneCypher/jssm/commit/7de448cb8c28aea5001342fc10eae4e88636ecc5) + +Author: `John Haugeland ` + + * Suppress generated code and directories from reviews using .gitattributes, fixes StoneCypher/fsl#1242 + + + +     @@ -37,7 +54,9 @@ Author: `John Haugeland `   -## [Untagged] - 10/25/2023 12:33:52 PM + + +## [5.90.0] - 10/25/2023 12:33:52 PM Commit [e88d784320e4d3bfbabfe9365578d32b869b6831](https://github.com/StoneCypher/jssm/commit/e88d784320e4d3bfbabfe9365578d32b869b6831) @@ -69,7 +88,9 @@ Merges [9944585, bba1f0a]   -## [Untagged] - 10/25/2023 11:29:11 AM + + +## [5.89.6] - 10/25/2023 11:29:11 AM Commit [bba1f0a273ca73ffe105eed27619fc6b31247568](https://github.com/StoneCypher/jssm/commit/bba1f0a273ca73ffe105eed27619fc6b31247568) diff --git a/CHANGELOG.md b/CHANGELOG.md index e683d697..73024d2a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1104 merges; 187 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1105 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -12,12 +12,29 @@ All notable changes to this project will be documented in this file. Published tags: -5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.90.1, 5.90.0, 5.89.6, 5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +  + +  + + + +## [5.90.1] - 10/25/2023 12:51:12 PM + +Commit [7de448cb8c28aea5001342fc10eae4e88636ecc5](https://github.com/StoneCypher/jssm/commit/7de448cb8c28aea5001342fc10eae4e88636ecc5) + +Author: `John Haugeland ` + + * Suppress generated code and directories from reviews using .gitattributes, fixes StoneCypher/fsl#1242 + + + +     @@ -37,7 +54,9 @@ Author: `John Haugeland `   -## [Untagged] - 10/25/2023 12:33:52 PM + + +## [5.90.0] - 10/25/2023 12:33:52 PM Commit [e88d784320e4d3bfbabfe9365578d32b869b6831](https://github.com/StoneCypher/jssm/commit/e88d784320e4d3bfbabfe9365578d32b869b6831) @@ -69,7 +88,9 @@ Merges [9944585, bba1f0a]   -## [Untagged] - 10/25/2023 11:29:11 AM + + +## [5.89.6] - 10/25/2023 11:29:11 AM Commit [bba1f0a273ca73ffe105eed27619fc6b31247568](https://github.com/StoneCypher/jssm/commit/bba1f0a273ca73ffe105eed27619fc6b31247568) @@ -154,22 +175,4 @@ Commit [99445857bb32492c06ef0d766177260b3221bb70](https://github.com/StoneCypher Author: `John Haugeland ` - * Purty - - - - -  - -  - - - -## [5.89.2] - 6/6/2023 12:30:48 AM - -Commit [66725ae01f4692e7720a6b7a0add6cd71b77ce85](https://github.com/StoneCypher/jssm/commit/66725ae01f4692e7720a6b7a0add6cd71b77ce85) - -Author: `John Haugeland ` - - * Update package.json - * bumping version for readme error by alpine discord @toomanyusershavethisname as mentioned in prior patch \ No newline at end of file + * Purty \ No newline at end of file diff --git a/README.md b/README.md index b5e97f31..855cd8ec 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.90.1 at 10/25/2023, 12:53:01 PM +* Generated for version 5.91.0 at 12/26/2023, 11:00:13 AM --> -# jssm 5.90.1 +# jssm 5.91.0 Easy. Small. Fast. TS, es6, es5. Node, Browser. 100% coverage. Property tests. Fuzz tests. Language tests for a dozen languages and emoji. Easy to diff --git a/dist/deno/README.md b/dist/deno/README.md index b5e97f31..855cd8ec 100644 --- a/dist/deno/README.md +++ b/dist/deno/README.md @@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.90.1 at 10/25/2023, 12:53:01 PM +* Generated for version 5.91.0 at 12/26/2023, 11:00:13 AM --> -# jssm 5.90.1 +# jssm 5.91.0 Easy. Small. Fast. TS, es6, es5. Node, Browser. 100% coverage. Property tests. Fuzz tests. Language tests for a dozen languages and emoji. Easy to diff --git a/dist/deno/jssm.js b/dist/deno/jssm.js index 7eb1264c..aa3dfc21 100644 --- a/dist/deno/jssm.js +++ b/dist/deno/jssm.js @@ -1 +1 @@ -class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.90.1",build_time=1698263492649;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; +class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617099086;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; diff --git a/dist/es6/version.js b/dist/es6/version.js index cb1676d6..d2f40a32 100644 --- a/dist/es6/version.js +++ b/dist/es6/version.js @@ -1,2 +1,2 @@ -const version = "5.90.1", build_time = 1698263492649; +const version = "5.91.0", build_time = 1703617099086; export { version, build_time }; diff --git a/dist/jssm.es5.cjs.js b/dist/jssm.es5.cjs.js index 888a95be..94bb5cdf 100644 --- a/dist/jssm.es5.cjs.js +++ b/dist/jssm.es5.cjs.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.90.1",build_time=1698263492649;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; +"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617099086;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; diff --git a/dist/jssm.es5.iife.js b/dist/jssm.es5.iife.js index 4d990883..c452cd02 100644 --- a/dist/jssm.es5.iife.js +++ b/dist/jssm.es5.iife.js @@ -1 +1 @@ -var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.90.1",build_time=1698263492649;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); +var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617099086;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); diff --git a/docs/docs/classes/jssm.Machine.html b/docs/docs/classes/jssm.Machine.html index 26e672fc..6b881a8c 100644 --- a/docs/docs/classes/jssm.Machine.html +++ b/docs/docs/classes/jssm.Machine.html @@ -1,16 +1,16 @@ -Machine | JSSM, a JavaScript state machine - the FSM for FSL

Type Parameters

  • mDT

Hierarchy

  • Machine

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

_actions: Map<string, Map<string, number>>
_active_state_style: Partial<JssmStateDeclaration>
_any_action_hook: HookHandler<mDT>
_any_transition_hook: HookHandler<mDT>
_arrange_declaration: string[][]
_arrange_end_declaration: string[][]
_arrange_start_declaration: string[][]
_code_allows_override: JssmAllowsOverride
_config_allows_override: JssmAllowsOverride
_data?: mDT
_default_properties: Map<string, any>
_dot_preamble: string
_edge_map: Map<string, Map<string, number>>
_edges: JssmTransition<string, mDT>[]
_end_state_style: Partial<JssmStateDeclaration>
_end_states: Set<string>
_entry_hooks: Map<string, HookHandler<mDT>>
_exit_hooks: Map<string, HookHandler<mDT>>
_flow: "up" | "right" | "down" | "left"
_forced_transition_hook: HookHandler<mDT>
_fsl_version?: string
_global_action_hooks: Map<string, HookHandler<mDT>>
_graph_layout: JssmLayout
_has_basic_hooks: boolean
_has_entry_hooks: boolean
_has_exit_hooks: boolean
_has_forced_transitions: boolean
_has_global_action_hooks: boolean
_has_hooks: boolean
_has_named_hooks: boolean
_has_post_basic_hooks: boolean
_has_post_entry_hooks: boolean
_has_post_exit_hooks: boolean
_has_post_global_action_hooks: boolean
_has_post_hooks: boolean
_has_post_named_hooks: boolean
_has_post_transition_hooks: boolean
_has_transition_hooks: boolean
_history: JssmHistory<mDT>
_history_length: number
_hooked_state_style: Partial<JssmStateDeclaration>
_hooks: Map<string, HookHandler<mDT>>
_instance_name: string
_machine_author?: string[]
_machine_comment?: string
_machine_contributor?: string[]
_machine_definition?: string
_machine_language?: string
_machine_license?: string
_machine_name?: string
_machine_version?: string
_main_transition_hook: HookHandler<mDT>
_named_hooks: Map<string, HookHandler<mDT>>
_named_transitions: Map<string, number>
_post_any_action_hook: HookHandler<mDT>
_post_any_transition_hook: HookHandler<mDT>
_post_entry_hooks: Map<string, HookHandler<mDT>>
_post_exit_hooks: Map<string, HookHandler<mDT>>
_post_forced_transition_hook: HookHandler<mDT>
_post_global_action_hooks: Map<string, HookHandler<mDT>>
_post_hooks: Map<string, HookHandler<mDT>>
_post_main_transition_hook: HookHandler<mDT>
_post_named_hooks: Map<string, HookHandler<mDT>>
_post_standard_transition_hook: HookHandler<mDT>
_property_keys: Set<string>
_raw_state_declaration?: <internal>.Object[]
_required_properties: Set<string>
_reverse_action_targets: Map<string, Map<string, number>>
_reverse_actions: Map<string, Map<string, number>>
_rng: JssmRng
_rng_seed: number
_standard_transition_hook: HookHandler<mDT>
_start_state_style: Partial<JssmStateDeclaration>
_start_states: Set<string>
_state: string
_state_declarations: Map<string, JssmStateDeclaration>
_state_labels: Map<string, string>
_state_properties: Map<string, any>
_states: Map<string, JssmGenericState>
_terminal_state_style: Partial<JssmStateDeclaration>
_themes: ("default" | "modern" | "ocean" | "bold" | "plain")[]

Accessors

  • actions(whichState?: string): string[]

Returns boolean

  • actions(whichState?: string): string[]
  • List all actions available from this state. Please note that the order of the actions is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('next'); // true
    console.log( machine.state() ); // logs 'green'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('shutdown'); // true
    console.log( machine.state() ); // logs 'off'
    console.log( machine.actions() ); // logs ['start']

    machine.action('start'); // true
    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    Parameters

    • whichState: string = ...

      The state whose actions to have listed

      -

    Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT

Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index 7580b4da..206c7cf5 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

 

 

+ + - -

[Untagged] - 10/25/2023 11:29:11 AM

+
+

[5.89.6] - 10/25/2023 11:29:11 AM

Commit bba1f0a273ca73ffe105eed27619fc6b31247568

Author: John Haugeland <stonecypher@gmail.com>

diff --git a/jest-dragon.config.js b/jest-dragon.config.cjs similarity index 100% rename from jest-dragon.config.js rename to jest-dragon.config.cjs diff --git a/jest-spec.config.js b/jest-spec.config.cjs similarity index 100% rename from jest-spec.config.js rename to jest-spec.config.cjs diff --git a/jest-stoch.config.js b/jest-stoch.config.cjs similarity index 100% rename from jest-stoch.config.js rename to jest-stoch.config.cjs diff --git a/jest-unicode.config.js b/jest-unicode.config.cjs similarity index 100% rename from jest-unicode.config.js rename to jest-unicode.config.cjs diff --git a/package-lock.json b/package-lock.json index 562aeb0c..5e5d35e4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "jssm", - "version": "5.89.3", + "version": "5.91.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "jssm", - "version": "5.89.3", + "version": "5.91.0", "license": "MIT", "dependencies": { "better_git_changelog": "^1.6.1", @@ -18,11 +18,11 @@ "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-replace": "^4.0.0", + "@types/chalk": "^2.2.0", "@types/jest": "^27.0.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", "benny": "^3.7.1", - "chalk": "^4.1.2", "cloc": "^2.10.0", "eslint": "^7.32.0", "eslint-plugin-fp": "^2.3.0", @@ -35,6 +35,7 @@ "jest": "^27.3.1", "jest-json-reporter2": "^1.1.0", "pegjs": "^0.10.0", + "picocolors": "^1.0.0", "rollup": "^2.72.1", "semver": "^7.5.4", "terser": "^5.14.2", @@ -1498,6 +1499,16 @@ "@babel/types": "^7.3.0" } }, + "node_modules/@types/chalk": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/chalk/-/chalk-2.2.0.tgz", + "integrity": "sha512-1zzPV9FDe1I/WHhRkf9SNgqtRJWZqrBWgu7JGveuHmmyR9CnAPCie2N/x+iHrgnpYBIcCJWHBoMRv2TRWktsvw==", + "deprecated": "This is a stub types definition for chalk (https://github.com/chalk/chalk). chalk provides its own type definitions, so you don't need @types/chalk installed!", + "dev": true, + "dependencies": { + "chalk": "*" + } + }, "node_modules/@types/estree": { "version": "0.0.39", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", @@ -8884,6 +8895,15 @@ "@babel/types": "^7.3.0" } }, + "@types/chalk": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@types/chalk/-/chalk-2.2.0.tgz", + "integrity": "sha512-1zzPV9FDe1I/WHhRkf9SNgqtRJWZqrBWgu7JGveuHmmyR9CnAPCie2N/x+iHrgnpYBIcCJWHBoMRv2TRWktsvw==", + "dev": true, + "requires": { + "chalk": "*" + } + }, "@types/estree": { "version": "0.0.39", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-0.0.39.tgz", diff --git a/package.json b/package.json index fc8bb81b..2e273a77 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jssm", - "version": "5.90.1", + "version": "5.91.0", "engines": { "node": ">=10.0.0" }, @@ -22,21 +22,22 @@ } ] }, + "type": "module", "description": "A Javascript finite state machine (FSM) with a terse DSL and a simple API. Most FSMs are one-liners. Fast, easy, powerful, well tested, typed with TypeScript, and visualizations. MIT License.", "main": "dist/jssm.es5.cjs.js", "module": "dist/es6/jssm.js", "browser": "dist/jssm.es5.iife.js", "types": "./jssm.d.ts", "scripts": { - "jest-unicode-action": "jest unicode-actions.uspec.ts -c jest-unicode.config.js --color --verbose", - "jest-unicode-string": "jest unicode-strings.uspec.ts -c jest-unicode.config.js --color --verbose", - "jest-unicode-atom": "jest unicode-atoms.uspec.ts -c jest-unicode.config.js --color --verbose", - "jest-unicode-string-label": "jest unicode-atoms.uspec.ts -c jest-unicode.config.js --color --verbose", - "jest-unicode-atom-label": "jest unicode-atoms.uspec.ts -c jest-unicode.config.js --color --verbose", + "jest-unicode-action": "jest unicode-actions.uspec.ts -c jest-unicode.config.cjs --color --verbose", + "jest-unicode-string": "jest unicode-strings.uspec.ts -c jest-unicode.config.cjs --color --verbose", + "jest-unicode-atom": "jest unicode-atoms.uspec.ts -c jest-unicode.config.cjs --color --verbose", + "jest-unicode-string-label": "jest unicode-atoms.uspec.ts -c jest-unicode.config.cjs --color --verbose", + "jest-unicode-atom-label": "jest unicode-atoms.uspec.ts -c jest-unicode.config.cjs --color --verbose", "jest-unicode-full-slow": "npm run jest-unicode-atom && npm run jest-unicode-string && npm run jest-unicode-atom-label && npm run jest-unicode-string-label && jest-unicode-action", - "jest-stoch": "jest -c jest-stoch.config.js --color --verbose", - "jest-dragon": "jest -c jest-dragon.config.js --color --verbose", - "jest-spec": "jest -c jest-spec.config.js --color --verbose", + "jest-stoch": "jest -c jest-stoch.config.cjs --color --verbose", + "jest-dragon": "jest -c jest-dragon.config.cjs --color --verbose", + "jest-spec": "jest -c jest-spec.config.cjs --color --verbose", "jest": "npm run jest-stoch && npm run jest-spec", "test": "npm run make && npm run jest", "clean": "rm -rf dist && rm -rf docs && cd coverage && rm -rf cloc && cd .. && rm -f src/ts/fsl_parser.ts && rm -f src/ts/version.ts && rm -f *.d.ts && mkdir dist && mkdir docs && cd coverage && mkdir cloc && cd ..", @@ -60,8 +61,8 @@ "min_cjs": "mv dist/jssm.es5.cjs.js dist/jssm.es5.cjs.nonmin.js && terser dist/jssm.es5.cjs.nonmin.js > dist/jssm.es5.cjs.js", "min_deno": "terser dist/deno/jssm.deno-esm.nonmin.js > dist/deno/jssm.js", "site": "cp src/site/* docs/ && cp -r src/assets docs/assets/", - "docs": "typedoc src/ts/jssm.ts src/ts/jssm_types.ts src/ts/jssm_constants.ts src/ts/jssm_error.ts src/ts/jssm_util.ts src/ts/version.ts --options typedoc-options.js", - "cloc": "cloc --quiet ./src/** --exclude-list-file=./.clocignore --3 --json --out=./coverage/cloc/report_wt.json && cloc --quiet ./src/** --exclude-list-file=./.clocignore --exclude-dir=tests --3 --json --out=./coverage/cloc/report_nt.json && node ./src/buildjs/cloc_report.js", + "docs": "typedoc src/ts/jssm.ts src/ts/jssm_types.ts src/ts/jssm_constants.ts src/ts/jssm_error.ts src/ts/jssm_util.ts src/ts/version.ts --options typedoc-options.cjs", + "cloc": "cloc --quiet ./src/** --exclude-list-file=./.clocignore --3 --json --out=./coverage/cloc/report_wt.json && cloc --quiet ./src/** --exclude-list-file=./.clocignore --exclude-dir=tests --3 --json --out=./coverage/cloc/report_nt.json && node ./src/buildjs/cloc_report.cjs", "readme": "rm -f ./README.md && node ./src/buildjs/make_readme.js && cp README.md dist/deno", "changelog": "rm -f CHANGELOG.md && rm -f ./src/doc_md/CHANGELOG.md && better_git_changelog -b && cp CHANGELOG.* ./src/doc_md/" }, @@ -112,11 +113,11 @@ "@rollup/plugin-commonjs": "^22.0.0", "@rollup/plugin-node-resolve": "^13.3.0", "@rollup/plugin-replace": "^4.0.0", + "@types/chalk": "^2.2.0", "@types/jest": "^27.0.2", "@typescript-eslint/eslint-plugin": "^5.30.4", "@typescript-eslint/parser": "^5.30.4", "benny": "^3.7.1", - "chalk": "^4.1.2", "cloc": "^2.10.0", "eslint": "^7.32.0", "eslint-plugin-fp": "^2.3.0", @@ -129,6 +130,7 @@ "jest": "^27.3.1", "jest-json-reporter2": "^1.1.0", "pegjs": "^0.10.0", + "picocolors": "^1.0.0", "rollup": "^2.72.1", "semver": "^7.5.4", "terser": "^5.14.2", diff --git a/src/buildjs/cloc_report.js b/src/buildjs/cloc_report.cjs similarity index 86% rename from src/buildjs/cloc_report.js rename to src/buildjs/cloc_report.cjs index b71ac379..c112d94f 100644 --- a/src/buildjs/cloc_report.js +++ b/src/buildjs/cloc_report.cjs @@ -1,23 +1,26 @@ -const fs = require('fs'), - color = require('cli-color'); - -const header = s => color.yellow.bold(s), - header2 = s => color.yellow(s), - language = s => color.cyan.bold(s), - data = s => color.white.bold(s), - negative = s => color.red.bold(s), - positive = s => color.white.bold(s), - zero = s => color.xterm(241)(s), - special = s => color.green.bold(s); +const fs = require('fs'); +const { readFileSync } = fs; + +const pc = require('picocolors'); +const { bold, yellow, blue, white, cyan, red, dim } = pc; + +const header = s => bold(yellow(s)); +const header2 = s => yellow(s); +const language = s => bold(cyan(s)); +const data = s => bold(white(s)); +const negative = s => bold(red(s)); +const positive = s => bold(white(s)); +const zzero = s => dim(white(s)); +const special = s => bold(green(s)); const hpad_width = 2, hpad = ' '.repeat(hpad_width), vsep = '-', min_head = 5; -const wt = JSON.parse( fs.readFileSync('./coverage/cloc/report_wt.json') ), - nt = JSON.parse( fs.readFileSync('./coverage/cloc/report_nt.json') ); +const wt = JSON.parse( readFileSync('./coverage/cloc/report_wt.json') ), + nt = JSON.parse( readFileSync('./coverage/cloc/report_nt.json') ); const uniq = (arr) => arr.filter((v, i, a) => @@ -71,7 +74,7 @@ function cfnum(n = 0) { if (typeof(n) !== 'number') { throw new TypeError('cfnum is for numbers'); } if (n < 0) { return negative(fnum(n)); } if (n > 0) { return positive(fnum(n)); } - if (n === 0) { return zero(fnum(n)); } + if (n === 0) { return zzero(fnum(n)); } return special(fnum(n)); } @@ -86,7 +89,7 @@ function szcfnum(n = 0, range_max, min = 5, dir = 'right', filler = ' ') { t = `${filler.repeat(lp)}${f}${filler.repeat(rp)}`; if (n < 0) { return negative(t); } if (n > 0) { return positive(t); } - if (n === 0) { return zero(t); } + if (n === 0) { return zzero(t); } return special(t); } @@ -105,7 +108,7 @@ function heading(tx, w, dir = 'center', filler = ' ') { const bh = sized_r('', key_width), // blank header the width of the languages - tt = zero(heading('CLOC', key_width, 'right', ' ')), + tt = zzero(heading('CLOC', key_width, 'right', ' ')), lh = header2('Lines'), ch = header2('Cmnts'), fh = header2('Files'), diff --git a/src/buildjs/fixparser.js b/src/buildjs/fixparser.js index 56f50ee5..cd7b6549 100644 --- a/src/buildjs/fixparser.js +++ b/src/buildjs/fixparser.js @@ -6,12 +6,17 @@ // then add the es6 module one we have // then save under the other filename -const fs = require('fs'), - orig_fname = './src/ts/fsl_parser.js'; +import { + readFileSync, + writeFileSync, + unlinkSync +} from 'fs'; -const orig = fs.readFileSync(orig_fname), +const orig_fname = './src/ts/fsl_parser.js'; + +const orig = readFileSync(orig_fname), lines = `${orig}`.split('\n'), - tail = fs.readFileSync('src/buildjs/peg_ts_export_footer.ts'); + tail = readFileSync('src/buildjs/peg_ts_export_footer.ts'); lines.pop(); // shut up, it's funny lines.pop(); @@ -19,5 +24,5 @@ lines.pop(); lines.pop(); lines.pop(); -fs.writeFileSync('./src/ts/fsl_parser.ts', lines.join('\n') + tail); -fs.unlinkSync(orig_fname); +writeFileSync('./src/ts/fsl_parser.ts', lines.join('\n') + tail); +unlinkSync(orig_fname); diff --git a/src/buildjs/make_readme.js b/src/buildjs/make_readme.js index 9b5d15e5..71f55463 100644 --- a/src/buildjs/make_readme.js +++ b/src/buildjs/make_readme.js @@ -1,11 +1,11 @@ -const fs = require('fs'), - xj = require('xml2js'); +import { readFileSync, writeFileSync } from 'fs'; +import { parseStringPromise } from 'xml2js'; -const pv = JSON.parse( fs.readFileSync('./package.json').toString() ).version; +const pv = JSON.parse( readFileSync('./package.json').toString() ).version; -const wt = JSON.parse( fs.readFileSync('./coverage/cloc/report_wt.json') ), - nt = JSON.parse( fs.readFileSync('./coverage/cloc/report_nt.json') ); +const wt = JSON.parse( readFileSync('./coverage/cloc/report_wt.json') ), + nt = JSON.parse( readFileSync('./coverage/cloc/report_nt.json') ); const lines = nt['TypeScript'].code; // TODO add peg once cloc supports it @@ -25,25 +25,25 @@ function get_coverage_pct(coverage) { async function bulk() { - const spec_xml = fs.readFileSync('./coverage/spec/clover.xml').toString(), - stoch_xml = fs.readFileSync('./coverage/stoch/clover.xml').toString(), - spec_json = await xj.parseStringPromise(spec_xml), - stoch_json = await xj.parseStringPromise(stoch_xml); + const spec_xml = readFileSync('./coverage/spec/clover.xml').toString(), + stoch_xml = readFileSync('./coverage/stoch/clover.xml').toString(), + spec_json = await parseStringPromise(spec_xml), + stoch_json = await parseStringPromise(stoch_xml); - const package = JSON.parse(fs.readFileSync('./package.json')), - spec_metrics = JSON.parse(fs.readFileSync('./coverage/spec/metrics.json')), - stoch_metrics = JSON.parse(fs.readFileSync('./coverage/stoch/metrics.json')), + const pkg = JSON.parse(readFileSync('./package.json')), + spec_metrics = JSON.parse(readFileSync('./coverage/spec/metrics.json')), + stoch_metrics = JSON.parse(readFileSync('./coverage/stoch/metrics.json')), tot_count = spec_metrics.tests.success + stoch_metrics.tests.success, run_count = spec_metrics.tests.success + (stoch_metrics.tests.success * 100), - warning = fs.readFileSync('./src/md/generated-file-warning.txt').toString(), + warning = readFileSync('./src/md/generated-file-warning.txt').toString(), warning_wf = warning.replace(/{{real_source}}/g, './src/md/readme_base.md'), warning_wd = warning_wf.replace(/{{datetime}}/g, new Date().toLocaleString()), - warning_wv = warning_wd.replace(/{{build}}/g, package.version), + warning_wv = warning_wd.replace(/{{build}}/g, pkg.version), - readme_base = fs.readFileSync('./src/md/README_base.md').toString(), + readme_base = readFileSync('./src/md/README_base.md').toString(), readme_tests = readme_base.replace(/{{test_count}}/g, tot_count.toLocaleString()), readme_runs = readme_tests.replace(/{{run_count}}/g, run_count.toLocaleString()), readme_spec = readme_runs.replace(/{{spec_count}}/g, spec_metrics.tests.success.toLocaleString()), @@ -55,7 +55,7 @@ async function bulk() { readme_rratio = readme_ratio.replace(/{{line_run_ratio}}/g, (run_count / lines).toFixed(1)), readme_jver = readme_ratio.replace(/{{jssm_version}}/g, pv); - fs.writeFileSync('./README.md', warning_wv + readme_jver); + writeFileSync('./README.md', warning_wv + readme_jver); } diff --git a/src/buildjs/makever.js b/src/buildjs/makever.js index aa9b1ec0..64aa2ad1 100644 --- a/src/buildjs/makever.js +++ b/src/buildjs/makever.js @@ -1,10 +1,23 @@ -const fs = require('fs'); +import { + readFileSync, + writeFileSync +} from 'fs'; -const package = JSON.parse(fs.readFileSync('package.json')); -fs.writeFileSync('./src/ts/version.ts', ` -const version : string = "${package.version}", + + + +const pkg = JSON.parse( + readFileSync('package.json') +); + + + + + +writeFileSync('./src/ts/version.ts', ` +const version : string = "${pkg.version}", build_time : number = ${new Date().getTime()}; export { version, build_time }; diff --git a/src/doc_md/CHANGELOG.long.md b/src/doc_md/CHANGELOG.long.md index 8b2fc79c..200b4b38 100644 --- a/src/doc_md/CHANGELOG.long.md +++ b/src/doc_md/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1104 merges; 187 releases +1105 merges; 190 releases @@ -12,12 +12,29 @@ All notable changes to this project will be documented in this file. Published tags: -5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.90.1, 5.90.0, 5.89.6, 5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +  + +  + + + +## [5.90.1] - 10/25/2023 12:51:12 PM + +Commit [7de448cb8c28aea5001342fc10eae4e88636ecc5](https://github.com/StoneCypher/jssm/commit/7de448cb8c28aea5001342fc10eae4e88636ecc5) + +Author: `John Haugeland ` + + * Suppress generated code and directories from reviews using .gitattributes, fixes StoneCypher/fsl#1242 + + + +     @@ -37,7 +54,9 @@ Author: `John Haugeland `   -## [Untagged] - 10/25/2023 12:33:52 PM + + +## [5.90.0] - 10/25/2023 12:33:52 PM Commit [e88d784320e4d3bfbabfe9365578d32b869b6831](https://github.com/StoneCypher/jssm/commit/e88d784320e4d3bfbabfe9365578d32b869b6831) @@ -69,7 +88,9 @@ Merges [9944585, bba1f0a]   -## [Untagged] - 10/25/2023 11:29:11 AM + + +## [5.89.6] - 10/25/2023 11:29:11 AM Commit [bba1f0a273ca73ffe105eed27619fc6b31247568](https://github.com/StoneCypher/jssm/commit/bba1f0a273ca73ffe105eed27619fc6b31247568) diff --git a/src/doc_md/CHANGELOG.md b/src/doc_md/CHANGELOG.md index e683d697..73024d2a 100644 --- a/src/doc_md/CHANGELOG.md +++ b/src/doc_md/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1104 merges; 187 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1105 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -12,12 +12,29 @@ All notable changes to this project will be documented in this file. Published tags: -5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +5.90.1, 5.90.0, 5.89.6, 5.89.3, 5.89.2, 5.89.1, 5.89.0, 5.88.4, 5.88.3, 5.88.2, 5.88.1, 5.88.0, 5.87.0, 5.86.3, 5.86.2, 5.86.1, 5.86.0, 5.85.11, 5.85.10, 5.85.9, 5.85.8, 5.85.7, 5.85.6, 5.85.5, 5.85.4, 5.85.3, 5.85.2, 5.85.1, 5.85.0, 5.84.1, 5.84.0, 5.83.2, 5.83.1, 5.83.0, 5.82.5, 5.82.4, 5.82.3, 5.82.2, 5.82.1, 5.82.0, 5.81.2, 5.81.0, 5.80.1, 5.80.0, 5.79.18, 5.79.17, 5.79.16, 5.79.15, 5.79.11, 5.79.10, 5.79.9, 5.79.8, 5.79.6, 5.79.4, 5.79.3, 5.79.2, 5.79.1, 5.79.0, 5.78.0, 5.77.1, 5.77.0, 5.76.2, 5.76.0, 5.75.1, 5.75.0, 5.74.0, 5.73.1, 5.73.0, 5.72.5, 5.72.4, 5.72.3, 5.72.2, 5.72.1, 5.72.0, 5.71.1, 5.71.0, 5.70.36, 5.70.35, 5.70.34, 5.70.33, 5.70.32, 5.70.31, 5.70.30, 5.70.29, 5.70.28, 5.70.27, 5.70.26, 5.70.25, 5.70.24, 5.70.23, 5.70.22, 5.70.21, 5.70.20, 5.70.19, 5.70.18, 5.70.16, 5.70.15, 5.70.14, 5.70.13, 5.70.12, 5.70.11, 5.70.10, 5.70.9, 5.70.8, 5.70.7, 5.70.6, 5.70.5, 5.70.4, 5.70.3, 5.70.2, 5.70.1, 5.70.0, 5.69.4, 5.69.3, 5.69.2, 5.69.0, 5.68.0, 5.67.2, 5.67.0, 5.66.0, 5.65.14, 5.65.12, 5.65.11, 5.65.10, 5.65.9, 5.65.8, 5.65.7, 5.65.5, 5.65.4, 5.65.3, 5.65.2, 5.65.1, 5.65.0, 5.64.2, 5.64.1, 5.64.0, 5.63.0, 5.62.0, 5.61.4, 5.61.3, 5.61.2, 5.61.1, 5.60.4, 5.60.3, 5.60.0, 5.59.1, 5.59.0, 5.58.1, 5.58.0, 5.57.1, 5.57.0, 5.56.2, 5.56.1, 5.55.0, 5.54.0, 5.53.0, 5.52.0, 5.51.0, 5.50.0, 5.49.0, 5.48.0, 5.47.0, 5.46.0, 5.45.2, 5.45.0, 5.44.0, 5.43.2, v5.42.0, 5.42.0, v5.41.15, 5.41.15, v5.41.14, 5.41.14, v5.41.12, 5.41.12, v5.41.10, 5.41.10, v5.41.9, 5.41.9, v5.41.8, 5.41.8, v5.41.7, v5.41.2, v5.41.1, v5.32.14, 5.14.0, 5.12.0, 5.11.12, 5.11.1, 5.11.0 +  + +  + + + +## [5.90.1] - 10/25/2023 12:51:12 PM + +Commit [7de448cb8c28aea5001342fc10eae4e88636ecc5](https://github.com/StoneCypher/jssm/commit/7de448cb8c28aea5001342fc10eae4e88636ecc5) + +Author: `John Haugeland ` + + * Suppress generated code and directories from reviews using .gitattributes, fixes StoneCypher/fsl#1242 + + + +     @@ -37,7 +54,9 @@ Author: `John Haugeland `   -## [Untagged] - 10/25/2023 12:33:52 PM + + +## [5.90.0] - 10/25/2023 12:33:52 PM Commit [e88d784320e4d3bfbabfe9365578d32b869b6831](https://github.com/StoneCypher/jssm/commit/e88d784320e4d3bfbabfe9365578d32b869b6831) @@ -69,7 +88,9 @@ Merges [9944585, bba1f0a]   -## [Untagged] - 10/25/2023 11:29:11 AM + + +## [5.89.6] - 10/25/2023 11:29:11 AM Commit [bba1f0a273ca73ffe105eed27619fc6b31247568](https://github.com/StoneCypher/jssm/commit/bba1f0a273ca73ffe105eed27619fc6b31247568) @@ -154,22 +175,4 @@ Commit [99445857bb32492c06ef0d766177260b3221bb70](https://github.com/StoneCypher Author: `John Haugeland ` - * Purty - - - - -  - -  - - - -## [5.89.2] - 6/6/2023 12:30:48 AM - -Commit [66725ae01f4692e7720a6b7a0add6cd71b77ce85](https://github.com/StoneCypher/jssm/commit/66725ae01f4692e7720a6b7a0add6cd71b77ce85) - -Author: `John Haugeland ` - - * Update package.json - * bumping version for readme error by alpine discord @toomanyusershavethisname as mentioned in prior patch \ No newline at end of file + * Purty \ No newline at end of file diff --git a/src/ts/version.ts b/src/ts/version.ts index 3a1b5917..ce0c57f9 100644 --- a/src/ts/version.ts +++ b/src/ts/version.ts @@ -1,5 +1,5 @@ -const version : string = "5.90.1", - build_time : number = 1698263492649; +const version : string = "5.91.0", + build_time : number = 1703617099086; export { version, build_time }; diff --git a/typedoc-options.js b/typedoc-options.cjs similarity index 100% rename from typedoc-options.js rename to typedoc-options.cjs From f805fa5ca95edd1927dd7241bee7a00813dacfe3 Mon Sep 17 00:00:00 2001 From: John Haugeland Date: Tue, 26 Dec 2023 11:15:30 -0800 Subject: [PATCH 2/9] right, can't change exterior tooling to import without losing node 11-17 --- CHANGELOG.long.md | 17 +++- CHANGELOG.md | 34 +++---- README.md | 2 +- dist/deno/README.md | 2 +- dist/deno/jssm.js | 2 +- dist/es6/version.js | 2 +- dist/jssm.es5.cjs.js | 2 +- dist/jssm.es5.iife.js | 2 +- docs/docs/classes/jssm.Machine.html | 88 +++++++++---------- docs/docs/classes/jssm_error.JssmError.html | 2 +- docs/docs/modules/jssm.html | 18 ++-- docs/docs/modules/jssm_constants.html | 2 +- docs/docs/modules/jssm_types._internal_.html | 2 +- docs/docs/modules/jssm_types.html | 4 +- docs/docs/modules/jssm_util.html | 18 ++-- docs/docs/modules/version.html | 2 +- docs/docs/pages/CHANGELOG.long.html | 13 ++- package.json | 6 +- src/buildjs/benchmark_diff.js | 6 +- src/buildjs/{fixparser.js => fixparser.cjs} | 17 ++-- .../{make_readme.js => make_readme.cjs} | 32 +++---- src/buildjs/makever.cjs | 11 +++ src/buildjs/makever.js | 24 ----- src/doc_md/CHANGELOG.long.md | 17 +++- src/doc_md/CHANGELOG.md | 34 +++---- src/ts/version.ts | 2 +- 26 files changed, 194 insertions(+), 167 deletions(-) rename src/buildjs/{fixparser.js => fixparser.cjs} (54%) rename src/buildjs/{make_readme.js => make_readme.cjs} (62%) create mode 100644 src/buildjs/makever.cjs delete mode 100644 src/buildjs/makever.js diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index 200b4b38..327dbc2b 100644 --- a/CHANGELOG.long.md +++ b/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1105 merges; 190 releases +1106 merges; 190 releases @@ -18,6 +18,21 @@ Published tags: +  + +  + +## [Untagged] - 12/26/2023 11:08:54 AM + +Commit [c081751106ec607385bc8086d7c7c6a0046fb172](https://github.com/StoneCypher/jssm/commit/c081751106ec607385bc8086d7c7c6a0046fb172) + +Author: `John Haugeland ` + + * good lord, wasn't that an unnecessary adventure? fixes StoneCypher/fsl#1260 + + + +     diff --git a/CHANGELOG.md b/CHANGELOG.md index 73024d2a..6c2629cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1105 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1106 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -18,6 +18,21 @@ Published tags: +  + +  + +## [Untagged] - 12/26/2023 11:08:54 AM + +Commit [c081751106ec607385bc8086d7c7c6a0046fb172](https://github.com/StoneCypher/jssm/commit/c081751106ec607385bc8086d7c7c6a0046fb172) + +Author: `John Haugeland ` + + * good lord, wasn't that an unnecessary adventure? fixes StoneCypher/fsl#1260 + + + +     @@ -160,19 +175,4 @@ Commit [a0fa6f3a6f58169ae45ed294c4fd7ae1d1f84a26](https://github.com/StoneCypher Author: `John Haugeland ` - * Newer node stuff - - - - -  - -  - -## [Untagged] - 10/25/2023 10:47:08 AM - -Commit [99445857bb32492c06ef0d766177260b3221bb70](https://github.com/StoneCypher/jssm/commit/99445857bb32492c06ef0d766177260b3221bb70) - -Author: `John Haugeland ` - - * Purty \ No newline at end of file + * Newer node stuff \ No newline at end of file diff --git a/README.md b/README.md index 855cd8ec..472f9fa2 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.91.0 at 12/26/2023, 11:00:13 AM +* Generated for version 5.91.0 at 12/26/2023, 11:15:10 AM --> # jssm 5.91.0 diff --git a/dist/deno/README.md b/dist/deno/README.md index 855cd8ec..472f9fa2 100644 --- a/dist/deno/README.md +++ b/dist/deno/README.md @@ -18,7 +18,7 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.91.0 at 12/26/2023, 11:00:13 AM +* Generated for version 5.91.0 at 12/26/2023, 11:15:10 AM --> # jssm 5.91.0 diff --git a/dist/deno/jssm.js b/dist/deno/jssm.js index aa3dfc21..683de90a 100644 --- a/dist/deno/jssm.js +++ b/dist/deno/jssm.js @@ -1 +1 @@ -class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617099086;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; +class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617988685;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; diff --git a/dist/es6/version.js b/dist/es6/version.js index d2f40a32..91441142 100644 --- a/dist/es6/version.js +++ b/dist/es6/version.js @@ -1,2 +1,2 @@ -const version = "5.91.0", build_time = 1703617099086; +const version = "5.91.0", build_time = 1703617988685; export { version, build_time }; diff --git a/dist/jssm.es5.cjs.js b/dist/jssm.es5.cjs.js index 94bb5cdf..1f90b790 100644 --- a/dist/jssm.es5.cjs.js +++ b/dist/jssm.es5.cjs.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617099086;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; +"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617988685;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; diff --git a/dist/jssm.es5.iife.js b/dist/jssm.es5.iife.js index c452cd02..1421728b 100644 --- a/dist/jssm.es5.iife.js +++ b/dist/jssm.es5.iife.js @@ -1 +1 @@ -var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617099086;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); +var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703617988685;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); diff --git a/docs/docs/classes/jssm.Machine.html b/docs/docs/classes/jssm.Machine.html index 6b881a8c..9a650f57 100644 --- a/docs/docs/classes/jssm.Machine.html +++ b/docs/docs/classes/jssm.Machine.html @@ -1,16 +1,16 @@ -Machine | JSSM, a JavaScript state machine - the FSM for FSL

Type Parameters

  • mDT

Hierarchy

  • Machine

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

_actions: Map<string, Map<string, number>>
_active_state_style: Partial<JssmStateDeclaration>
_any_action_hook: HookHandler<mDT>
_any_transition_hook: HookHandler<mDT>
_arrange_declaration: string[][]
_arrange_end_declaration: string[][]
_arrange_start_declaration: string[][]
_code_allows_override: JssmAllowsOverride
_config_allows_override: JssmAllowsOverride
_data?: mDT
_default_properties: Map<string, any>
_dot_preamble: string
_edge_map: Map<string, Map<string, number>>
_edges: JssmTransition<string, mDT>[]
_end_state_style: Partial<JssmStateDeclaration>
_end_states: Set<string>
_entry_hooks: Map<string, HookHandler<mDT>>
_exit_hooks: Map<string, HookHandler<mDT>>
_flow: "up" | "right" | "down" | "left"
_forced_transition_hook: HookHandler<mDT>
_fsl_version?: string
_global_action_hooks: Map<string, HookHandler<mDT>>
_graph_layout: JssmLayout
_has_basic_hooks: boolean
_has_entry_hooks: boolean
_has_exit_hooks: boolean
_has_forced_transitions: boolean
_has_global_action_hooks: boolean
_has_hooks: boolean
_has_named_hooks: boolean
_has_post_basic_hooks: boolean
_has_post_entry_hooks: boolean
_has_post_exit_hooks: boolean
_has_post_global_action_hooks: boolean
_has_post_hooks: boolean
_has_post_named_hooks: boolean
_has_post_transition_hooks: boolean
_has_transition_hooks: boolean
_history: JssmHistory<mDT>
_history_length: number
_hooked_state_style: Partial<JssmStateDeclaration>
_hooks: Map<string, HookHandler<mDT>>
_instance_name: string
_machine_author?: string[]
_machine_comment?: string
_machine_contributor?: string[]
_machine_definition?: string
_machine_language?: string
_machine_license?: string
_machine_name?: string
_machine_version?: string
_main_transition_hook: HookHandler<mDT>
_named_hooks: Map<string, HookHandler<mDT>>
_named_transitions: Map<string, number>
_post_any_action_hook: HookHandler<mDT>
_post_any_transition_hook: HookHandler<mDT>
_post_entry_hooks: Map<string, HookHandler<mDT>>
_post_exit_hooks: Map<string, HookHandler<mDT>>
_post_forced_transition_hook: HookHandler<mDT>
_post_global_action_hooks: Map<string, HookHandler<mDT>>
_post_hooks: Map<string, HookHandler<mDT>>
_post_main_transition_hook: HookHandler<mDT>
_post_named_hooks: Map<string, HookHandler<mDT>>
_post_standard_transition_hook: HookHandler<mDT>
_property_keys: Set<string>
_raw_state_declaration?: <internal>.Object[]
_required_properties: Set<string>
_reverse_action_targets: Map<string, Map<string, number>>
_reverse_actions: Map<string, Map<string, number>>
_rng: JssmRng
_rng_seed: number
_standard_transition_hook: HookHandler<mDT>
_start_state_style: Partial<JssmStateDeclaration>
_start_states: Set<string>
_state: string
_state_declarations: Map<string, JssmStateDeclaration>
_state_labels: Map<string, string>
_state_properties: Map<string, any>
_states: Map<string, JssmGenericState>
_terminal_state_style: Partial<JssmStateDeclaration>
_themes: ("default" | "modern" | "ocean" | "bold" | "plain")[]

Accessors

  • actions(whichState?: string): string[]

Returns boolean

  • actions(whichState?: string): string[]
  • List all actions available from this state. Please note that the order of the actions is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('next'); // true
    console.log( machine.state() ); // logs 'green'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    machine.action('shutdown'); // true
    console.log( machine.state() ); // logs 'off'
    console.log( machine.actions() ); // logs ['start']

    machine.action('start'); // true
    console.log( machine.state() ); // logs 'red'
    console.log( machine.actions() ); // logs ['next', 'shutdown']

    Parameters

    • whichState: string = ...

      The state whose actions to have listed

      -

    Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT

Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Legend

  • Namespace
  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Class
  • Class with type parameter
  • Property
  • Method
  • Accessor

Settings

Theme

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index 206c7cf5..b6a48c53 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index b6a48c53..65f4e9a2 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index 65f4e9a2..16e136ed 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index 16e136ed..5d72b911 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • An internal method meant to take a series of declarations and fold them into a single multi-faceted declaration, in the process of building a state. Not generally meant for external use.

    diff --git a/docs/docs/modules/jssm_constants.html b/docs/docs/modules/jssm_constants.html index a64d3f77..818d2959 100644 --- a/docs/docs/modules/jssm_constants.html +++ b/docs/docs/modules/jssm_constants.html @@ -1 +1 @@ -jssm_constants | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Variables

    E: number = Math.E
    Epsilon: number = Number.EPSILON
    EulerC: 0.5772156649015329 = 0.57721566490153286060
    Ln10: number = Math.LN10
    Ln2: number = Math.LN2
    Log10E: number = Math.LOG10E
    Log2E: number = Math.LOG2E
    MaxPosNum: number = Number.MAX_VALUE
    MaxSafeInt: number = Number.MAX_SAFE_INTEGER
    MinPosNum: number = Number.MIN_VALUE
    MinSafeInt: number = Number.MIN_SAFE_INTEGER
    NegInfinity: number = Number.NEGATIVE_INFINITY
    Phi: 1.618033988749895 = 1.61803398874989484820
    Pi: number = Math.PI
    PosInfinity: number = Number.POSITIVE_INFINITY
    Root2: number = Math.SQRT2
    RootHalf: number = Math.SQRT1_2
    gviz_shapes: string[] = ...
    named_colors: string[] = ...
    shapes: string[] = gviz_shapes

    Legend

    • Namespace
    • Variable
    • Function
    • Function with type parameter
    • Type alias
    • Type alias with type parameter
    • Class
    • Class with type parameter

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +jssm_constants | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Variables

    E: number = Math.E
    Epsilon: number = Number.EPSILON
    EulerC: 0.5772156649015329 = 0.57721566490153286060
    Ln10: number = Math.LN10
    Ln2: number = Math.LN2
    Log10E: number = Math.LOG10E
    Log2E: number = Math.LOG2E
    MaxPosNum: number = Number.MAX_VALUE
    MaxSafeInt: number = Number.MAX_SAFE_INTEGER
    MinPosNum: number = Number.MIN_VALUE
    MinSafeInt: number = Number.MIN_SAFE_INTEGER
    NegInfinity: number = Number.NEGATIVE_INFINITY
    Phi: 1.618033988749895 = 1.61803398874989484820
    Pi: number = Math.PI
    PosInfinity: number = Number.POSITIVE_INFINITY
    Root2: number = Math.SQRT2
    RootHalf: number = Math.SQRT1_2
    gviz_shapes: string[] = ...
    named_colors: string[] = ...
    shapes: string[] = gviz_shapes

    Legend

    • Namespace
    • Variable
    • Function
    • Function with type parameter
    • Type alias
    • Type alias with type parameter
    • Class
    • Class with type parameter

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/modules/jssm_types._internal_.html b/docs/docs/modules/jssm_types._internal_.html index 805ead80..78ac1053 100644 --- a/docs/docs/modules/jssm_types._internal_.html +++ b/docs/docs/modules/jssm_types._internal_.html @@ -1 +1 @@ -<internal> | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Type Aliases

    AnyActionHook<mDT>: { handler: HookHandler<mDT>; kind: "any action" }

    Type Parameters

    • mDT

    Type declaration

    AnyTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "any transition" }

    Type Parameters

    • mDT

    Type declaration

    BasicHookDescription<mDT>: { from: string; handler: HookHandler<mDT>; kind: "hook"; to: string }

    Type Parameters

    • mDT

    Type declaration

    • from: string
    • handler: HookHandler<mDT>
    • kind: "hook"
    • to: string
    EntryHook<mDT>: { handler: HookHandler<mDT>; kind: "entry"; to: string }

    Type Parameters

    • mDT

    Type declaration

    ExitHook<mDT>: { from: string; handler: HookHandler<mDT>; kind: "exit" }

    Type Parameters

    • mDT

    Type declaration

    ForcedTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "forced transition" }

    Type Parameters

    • mDT

    Type declaration

    GlobalActionHook<mDT>: { action: string; handler: HookHandler<mDT>; kind: "global action" }

    Type Parameters

    • mDT

    Type declaration

    • action: string
    • handler: HookHandler<mDT>
    • kind: "global action"
    HookDescriptionWithAction<mDT>: { action: string; from: string; handler: HookHandler<mDT>; kind: "named"; to: string }

    Type Parameters

    • mDT

    Type declaration

    • action: string
    • from: string
    • handler: HookHandler<mDT>
    • kind: "named"
    • to: string
    JssmCorner: "regular" | "rounded" | "lined"
    JssmFailure: { error: any; success: false }

    Type declaration

    • error: any
    • success: false
    JssmIncomplete: { success: "incomplete" }

    Type declaration

    • success: "incomplete"
    JssmLineStyle: "solid" | "dashed" | "dotted"
    JssmStatePermitter<DataType>: ((OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean)

    Type Parameters

    • DataType

    Type declaration

      • Parameters

        Returns boolean

    JssmStatePermitterMaybeArray<DataType>: JssmStatePermitter<DataType> | JssmStatePermitter<DataType>[]

    Type Parameters

    • DataType

    JssmStateStyleBackgroundColor: { key: "background-color"; value: JssmColor }

    Type declaration

    JssmStateStyleBorderColor: { key: "border-color"; value: JssmColor }

    Type declaration

    JssmStateStyleColor: { key: "color"; value: JssmColor }

    Type declaration

    JssmStateStyleCorners: { key: "corners"; value: JssmCorner }

    Type declaration

    JssmStateStyleLineStyle: { key: "line-style"; value: JssmLineStyle }

    Type declaration

    JssmStateStyleShape: { key: "shape"; value: JssmShape }

    Type declaration

    JssmStateStyleStateLabel: { key: "state-label"; value: string }

    Type declaration

    • key: "state-label"
    • value: string
    JssmStateStyleTextColor: { key: "text-color"; value: JssmColor }

    Type declaration

    JssmSuccess: { success: true }

    Type declaration

    • success: true
    JssmTransitionCycle: { key: "cycle"; value: StateType }

    Type declaration

    JssmTransitionPermitter<DataType>: ((OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean)

    Type Parameters

    • DataType

    Type declaration

      • Parameters

        Returns boolean

    JssmTransitionPermitterMaybeArray<DataType>: JssmTransitionPermitter<DataType> | JssmTransitionPermitter<DataType>[]

    Type Parameters

    • DataType

    MainTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "main transition" }

    Type Parameters

    • mDT

    Type declaration

    PostAnyActionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post any action" }

    Type Parameters

    • mDT

    Type declaration

    PostAnyTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post any transition" }

    Type Parameters

    • mDT

    Type declaration

    PostBasicHookDescription<mDT>: { from: string; handler: PostHookHandler<mDT>; kind: "post hook"; to: string }

    Type Parameters

    • mDT

    Type declaration

    PostEntryHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post entry"; to: string }

    Type Parameters

    • mDT

    Type declaration

    PostExitHook<mDT>: { from: string; handler: PostHookHandler<mDT>; kind: "post exit" }

    Type Parameters

    • mDT

    Type declaration

    PostForcedTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post forced transition" }

    Type Parameters

    • mDT

    Type declaration

    PostGlobalActionHook<mDT>: { action: string; handler: PostHookHandler<mDT>; kind: "post global action" }

    Type Parameters

    • mDT

    Type declaration

    PostHookDescriptionWithAction<mDT>: { action: string; from: string; handler: PostHookHandler<mDT>; kind: "post named"; to: string }

    Type Parameters

    • mDT

    Type declaration

    • action: string
    • from: string
    • handler: PostHookHandler<mDT>
    • kind: "post named"
    • to: string
    PostHookHandler<mDT>: ((hook_context: HookContext<mDT>) => void)

    Type Parameters

    • mDT

    Type declaration

    PostMainTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post main transition" }

    Type Parameters

    • mDT

    Type declaration

    PostStandardTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post standard transition" }

    Type Parameters

    • mDT

    Type declaration

    StandardTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "standard transition" }

    Type Parameters

    • mDT

    Type declaration

    StateType: string
    TraversalFunctor<T>: ((_element: T, _index?: number, _array?: T[]) => unknown)

    Type Parameters

    • T

    Type declaration

      • (_element: T, _index?: number, _array?: T[]): unknown
      • Parameters

        • _element: T
        • Optional _index: number
        • Optional _array: T[]

        Returns unknown

    Legend

    • Namespace
    • Variable
    • Function
    • Function with type parameter
    • Type alias
    • Type alias with type parameter
    • Class
    • Class with type parameter

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +<internal> | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Type Aliases

    AnyActionHook<mDT>: { handler: HookHandler<mDT>; kind: "any action" }

    Type Parameters

    • mDT

    Type declaration

    AnyTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "any transition" }

    Type Parameters

    • mDT

    Type declaration

    BasicHookDescription<mDT>: { from: string; handler: HookHandler<mDT>; kind: "hook"; to: string }

    Type Parameters

    • mDT

    Type declaration

    • from: string
    • handler: HookHandler<mDT>
    • kind: "hook"
    • to: string
    EntryHook<mDT>: { handler: HookHandler<mDT>; kind: "entry"; to: string }

    Type Parameters

    • mDT

    Type declaration

    ExitHook<mDT>: { from: string; handler: HookHandler<mDT>; kind: "exit" }

    Type Parameters

    • mDT

    Type declaration

    ForcedTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "forced transition" }

    Type Parameters

    • mDT

    Type declaration

    GlobalActionHook<mDT>: { action: string; handler: HookHandler<mDT>; kind: "global action" }

    Type Parameters

    • mDT

    Type declaration

    • action: string
    • handler: HookHandler<mDT>
    • kind: "global action"
    HookDescriptionWithAction<mDT>: { action: string; from: string; handler: HookHandler<mDT>; kind: "named"; to: string }

    Type Parameters

    • mDT

    Type declaration

    • action: string
    • from: string
    • handler: HookHandler<mDT>
    • kind: "named"
    • to: string
    JssmCorner: "regular" | "rounded" | "lined"
    JssmFailure: { error: any; success: false }

    Type declaration

    • error: any
    • success: false
    JssmIncomplete: { success: "incomplete" }

    Type declaration

    • success: "incomplete"
    JssmLineStyle: "solid" | "dashed" | "dotted"
    JssmStatePermitter<DataType>: ((OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean)

    Type Parameters

    • DataType

    Type declaration

      • Parameters

        Returns boolean

    JssmStatePermitterMaybeArray<DataType>: JssmStatePermitter<DataType> | JssmStatePermitter<DataType>[]

    Type Parameters

    • DataType

    JssmStateStyleBackgroundColor: { key: "background-color"; value: JssmColor }

    Type declaration

    JssmStateStyleBorderColor: { key: "border-color"; value: JssmColor }

    Type declaration

    JssmStateStyleColor: { key: "color"; value: JssmColor }

    Type declaration

    JssmStateStyleCorners: { key: "corners"; value: JssmCorner }

    Type declaration

    JssmStateStyleLineStyle: { key: "line-style"; value: JssmLineStyle }

    Type declaration

    JssmStateStyleShape: { key: "shape"; value: JssmShape }

    Type declaration

    JssmStateStyleStateLabel: { key: "state-label"; value: string }

    Type declaration

    • key: "state-label"
    • value: string
    JssmStateStyleTextColor: { key: "text-color"; value: JssmColor }

    Type declaration

    JssmSuccess: { success: true }

    Type declaration

    • success: true
    JssmTransitionCycle: { key: "cycle"; value: StateType }

    Type declaration

    JssmTransitionPermitter<DataType>: ((OldState: StateType, NewState: StateType, OldData: DataType, NewData: DataType) => boolean)

    Type Parameters

    • DataType

    Type declaration

      • Parameters

        Returns boolean

    JssmTransitionPermitterMaybeArray<DataType>: JssmTransitionPermitter<DataType> | JssmTransitionPermitter<DataType>[]

    Type Parameters

    • DataType

    MainTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "main transition" }

    Type Parameters

    • mDT

    Type declaration

    PostAnyActionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post any action" }

    Type Parameters

    • mDT

    Type declaration

    PostAnyTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post any transition" }

    Type Parameters

    • mDT

    Type declaration

    PostBasicHookDescription<mDT>: { from: string; handler: PostHookHandler<mDT>; kind: "post hook"; to: string }

    Type Parameters

    • mDT

    Type declaration

    PostEntryHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post entry"; to: string }

    Type Parameters

    • mDT

    Type declaration

    PostExitHook<mDT>: { from: string; handler: PostHookHandler<mDT>; kind: "post exit" }

    Type Parameters

    • mDT

    Type declaration

    PostForcedTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post forced transition" }

    Type Parameters

    • mDT

    Type declaration

    PostGlobalActionHook<mDT>: { action: string; handler: PostHookHandler<mDT>; kind: "post global action" }

    Type Parameters

    • mDT

    Type declaration

    PostHookDescriptionWithAction<mDT>: { action: string; from: string; handler: PostHookHandler<mDT>; kind: "post named"; to: string }

    Type Parameters

    • mDT

    Type declaration

    • action: string
    • from: string
    • handler: PostHookHandler<mDT>
    • kind: "post named"
    • to: string
    PostHookHandler<mDT>: ((hook_context: HookContext<mDT>) => void)

    Type Parameters

    • mDT

    Type declaration

    PostMainTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post main transition" }

    Type Parameters

    • mDT

    Type declaration

    PostStandardTransitionHook<mDT>: { handler: PostHookHandler<mDT>; kind: "post standard transition" }

    Type Parameters

    • mDT

    Type declaration

    StandardTransitionHook<mDT>: { handler: HookHandler<mDT>; kind: "standard transition" }

    Type Parameters

    • mDT

    Type declaration

    StateType: string
    TraversalFunctor<T>: ((_element: T, _index?: number, _array?: T[]) => unknown)

    Type Parameters

    • T

    Type declaration

      • (_element: T, _index?: number, _array?: T[]): unknown
      • Parameters

        • _element: T
        • Optional _index: number
        • Optional _array: T[]

        Returns unknown

    Legend

    • Namespace
    • Variable
    • Function
    • Function with type parameter
    • Type alias
    • Type alias with type parameter
    • Class
    • Class with type parameter

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/modules/jssm_types.html b/docs/docs/modules/jssm_types.html index e4884743..ec7e5e08 100644 --- a/docs/docs/modules/jssm_types.html +++ b/docs/docs/modules/jssm_types.html @@ -1,3 +1,3 @@ -jssm_types | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Type Aliases

    FslDirection: typeof FslDirections[number]
    FslTheme: typeof FslThemes[number]
    HookComplexResult<mDT>: { data?: mDT; next_data?: mDT; pass: boolean; state?: StateType }

    Type Parameters

    • mDT

    Type declaration

    • Optional data?: mDT
    • Optional next_data?: mDT
    • pass: boolean
    • Optional state?: StateType
    HookContext<mDT>: { data: mDT; next_data: mDT }

    Type Parameters

    • mDT

    Type declaration

    • data: mDT
    • next_data: mDT

    Type Parameters

    • mDT

    HookHandler<mDT>: ((hook_context: HookContext<mDT>) => HookResult<mDT>)

    Type Parameters

    • mDT

    Type declaration

    HookResult<mDT>: boolean | undefined | void | HookComplexResult<mDT>

    Type Parameters

    • mDT

    JssmAllowsOverride: boolean | undefined
    JssmArrow: "->" | "<-" | "<->" | "<=->" | "<~->" | "=>" | "<=" | "<=>" | "<-=>" | "<~=>" | "~>" | "<~" | "<~>" | "<-~>" | "<=~>"
    JssmArrowDirection: "left" | "right" | "both"
    JssmArrowKind: "none" | "legal" | "main" | "forced"
    JssmBaseTheme: { action: undefined; active: JssmStateConfig; active_end: JssmStateConfig; active_hooked: JssmStateConfig; active_start: JssmStateConfig; active_terminal: JssmStateConfig; end: JssmStateConfig; forced: undefined; graph: undefined; hooked: JssmStateConfig; legal: undefined; main: undefined; name: string; start: JssmStateConfig; state: JssmStateConfig; terminal: JssmStateConfig; title: undefined }

    Type declaration

    JssmColor: string
    JssmCompileRule<StateType>: { agg_as: string; val: any }

    Type Parameters

    • StateType

    Type declaration

    • agg_as: string
    • val: any
    JssmCompileSe<StateType, mDT>: { kind: JssmArrow; l_action?: StateType; l_probability: number; r_action?: StateType; r_probability: number; se: JssmCompileSe<StateType, mDT>; to: StateType }

    Type Parameters

    • StateType

    • mDT

    Type declaration

    • kind: JssmArrow
    • Optional l_action?: StateType
    • l_probability: number
    • Optional r_action?: StateType
    • r_probability: number
    • se: JssmCompileSe<StateType, mDT>
    • to: StateType
    JssmCompileSeStart<StateType, DataType>: { default_value?: any; from: StateType; key: string; name?: string; required?: boolean; se: JssmCompileSe<StateType, DataType>; state?: string; value?: string | number }

    Type Parameters

    • StateType

    • DataType

    Type declaration

    • Optional default_value?: any
    • from: StateType
    • key: string
    • Optional name?: string
    • Optional required?: boolean
    • se: JssmCompileSe<StateType, DataType>
    • Optional state?: string
    • Optional value?: string | number
    JssmErrorExtendedInfo: { requested_state?: StateType }

    Type declaration

    JssmGenericConfig<StateType, DataType>: { actions?: JssmPermittedOpt; allow_force?: false; allow_islands?: false; allows_override?: JssmAllowsOverride; arrange_declaration?: StateType[][]; arrange_end_declaration?: StateType[][]; arrange_start_declaration?: StateType[][]; auto_api?: boolean | string; check?: JssmStatePermitterMaybeArray<DataType>; complete?: StateType[]; config_allows_override?: JssmAllowsOverride; data?: DataType; default_active_state_config?: JssmStateStyleKeyList; default_end_state_config?: JssmStateStyleKeyList; default_hooked_state_config?: JssmStateStyleKeyList; default_start_state_config?: JssmStateStyleKeyList; default_state_config?: JssmStateStyleKeyList; default_terminal_state_config?: JssmStateStyleKeyList; dot_preamble?: string; end_states?: StateType[]; flow?: FslDirection; fsl_version?: string; graph_layout?: JssmLayout; history?: number; instance_name?: string; machine_author?: string | string[]; machine_comment?: string; machine_contributor?: string | string[]; machine_definition?: string; machine_language?: string; machine_license?: string; machine_name?: string; machine_version?: string; max_exits?: number; min_exits?: number; name?: string; nodes?: StateType[]; property_definition?: JssmPropertyDefinition[]; rng_seed?: number; simplify_bidi?: boolean; start_states: StateType[]; state_declaration?: <internal>.Object[]; state_property?: JssmPropertyDefinition[]; theme?: FslTheme[]; transitions: JssmTransitions<StateType, DataType> }

    Type Parameters

    • StateType

    • DataType

    Type declaration

    • Optional actions?: JssmPermittedOpt
    • Optional allow_force?: false
    • Optional allow_islands?: false
    • Optional allows_override?: JssmAllowsOverride
    • Optional arrange_declaration?: StateType[][]
    • Optional arrange_end_declaration?: StateType[][]
    • Optional arrange_start_declaration?: StateType[][]
    • Optional auto_api?: boolean | string
    • Optional check?: JssmStatePermitterMaybeArray<DataType>
    • Optional complete?: StateType[]
    • Optional config_allows_override?: JssmAllowsOverride
    • Optional data?: DataType
    • Optional default_active_state_config?: JssmStateStyleKeyList
    • Optional default_end_state_config?: JssmStateStyleKeyList
    • Optional default_hooked_state_config?: JssmStateStyleKeyList
    • Optional default_start_state_config?: JssmStateStyleKeyList
    • Optional default_state_config?: JssmStateStyleKeyList
    • Optional default_terminal_state_config?: JssmStateStyleKeyList
    • Optional dot_preamble?: string
    • Optional end_states?: StateType[]
    • Optional flow?: FslDirection
    • Optional fsl_version?: string
    • Optional graph_layout?: JssmLayout
    • Optional history?: number
    • Optional instance_name?: string
    • Optional machine_author?: string | string[]
    • Optional machine_comment?: string
    • Optional machine_contributor?: string | string[]
    • Optional machine_definition?: string
    • Optional machine_language?: string
    • Optional machine_license?: string
    • Optional machine_name?: string
    • Optional machine_version?: string
    • Optional max_exits?: number
    • Optional min_exits?: number
    • Optional name?: string
    • Optional nodes?: StateType[]
    • Optional property_definition?: JssmPropertyDefinition[]
    • Optional rng_seed?: number
    • Optional simplify_bidi?: boolean
    • start_states: StateType[]
    • Optional state_declaration?: <internal>.Object[]
    • Optional state_property?: JssmPropertyDefinition[]
    • Optional theme?: FslTheme[]
    • transitions: JssmTransitions<StateType, DataType>
    JssmGenericMachine<DataType>: { allow_empty?: boolean; allow_force?: boolean; allow_islands?: boolean; check?: JssmStatePermitterMaybeArray<DataType>; data?: DataType; keep_history?: boolean | number; max_transitions?: number; min_transitions?: number; name?: string; nodes?: StateType[]; state: StateType; transitions: JssmTransitions<StateType, DataType> }

    Type Parameters

    • DataType

    Type declaration

    • Optional allow_empty?: boolean
    • Optional allow_force?: boolean
    • Optional allow_islands?: boolean
    • Optional check?: JssmStatePermitterMaybeArray<DataType>
    • Optional data?: DataType
    • Optional keep_history?: boolean | number
    • Optional max_transitions?: number
    • Optional min_transitions?: number
    • Optional name?: string
    • Optional nodes?: StateType[]
    • state: StateType
    • transitions: JssmTransitions<StateType, DataType>
    JssmGenericState: { complete: boolean; from: StateType[]; name: StateType; to: StateType[] }

    Type declaration

    JssmHistory<mDT>: circular_buffer<[StateType, mDT]>

    Type Parameters

    • mDT

    JssmLayout: "dot" | "circo" | "twopi" | "fdp"
    JssmMachineInternalState<DataType>: { actions: Map<StateType, Map<StateType, number>>; edge_map: Map<StateType, Map<StateType, number>>; edges: JssmTransition<StateType, DataType>[]; internal_state_impl_version: 1; named_transitions: Map<StateType, number>; reverse_actions: Map<StateType, Map<StateType, number>>; state: StateType; states: Map<StateType, JssmGenericState> }

    Type Parameters

    • DataType

    Type declaration

    JssmParseFunctionType<StateType, mDT>: ((string: any) => JssmParseTree<StateType, mDT>)

    Type Parameters

    • StateType

    • mDT

    Type declaration

    JssmParseTree<StateType, mDT>: JssmCompileSeStart<StateType, mDT>[]

    Type Parameters

    • StateType

    • mDT

    JssmPermitted: "required" | "disallowed"
    JssmPermittedOpt: "required" | "disallowed" | "optional"
    JssmPropertyDefinition: { default_value?: any; name: string; required?: boolean }

    Type declaration

    • Optional default_value?: any
    • name: string
    • Optional required?: boolean
    JssmRng: (() => number)

    Type declaration

      • (): number
      • Returns number

    JssmSerialization<DataType>: { comment?: string; data: DataType; history: [string, DataType][]; history_capacity: number; jssm_version: string; state: StateType; timestamp: number }

    Type Parameters

    • DataType

    Type declaration

    • Optional comment?: string
    • data: DataType
    • history: [string, DataType][]
    • history_capacity: number
    • jssm_version: string
    • state: StateType
    • timestamp: number
    JssmShape: "box" | "polygon" | "ellipse" | "oval" | "circle" | "point" | "egg" | "triangle" | "plaintext" | "plain" | "diamond" | "trapezium" | "parallelogram" | "house" | "pentagon" | "hexagon" | "septagon" | "octagon" | "doublecircle" | "doubleoctagon" | "tripleoctagon" | "invtriangle" | "invtrapezium" | "invhouse" | "Mdiamond" | "Msquare" | "Mcircle" | "rect" | "rectangle" | "square" | "star" | "none" | "underline" | "cylinder" | "note" | "tab" | "folder" | "box3d" | "component" | "promoter" | "cds" | "terminator" | "utr" | "primersite" | "restrictionsite" | "fivepoverhang" | "threepoverhang" | "noverhang" | "assembly" | "signature" | "insulator" | "ribosite" | "rnastab" | "proteasesite" | "proteinstab" | "rpromoter" | "rarrow" | "larrow" | "lpromoter" | "record"
    +jssm_types | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Type Aliases

    FslDirection: typeof FslDirections[number]
    FslTheme: typeof FslThemes[number]
    HookComplexResult<mDT>: { data?: mDT; next_data?: mDT; pass: boolean; state?: StateType }

    Type Parameters

    • mDT

    Type declaration

    • Optional data?: mDT
    • Optional next_data?: mDT
    • pass: boolean
    • Optional state?: StateType
    HookContext<mDT>: { data: mDT; next_data: mDT }

    Type Parameters

    • mDT

    Type declaration

    • data: mDT
    • next_data: mDT

    Type Parameters

    • mDT

    HookHandler<mDT>: ((hook_context: HookContext<mDT>) => HookResult<mDT>)

    Type Parameters

    • mDT

    Type declaration

    HookResult<mDT>: boolean | undefined | void | HookComplexResult<mDT>

    Type Parameters

    • mDT

    JssmAllowsOverride: boolean | undefined
    JssmArrow: "->" | "<-" | "<->" | "<=->" | "<~->" | "=>" | "<=" | "<=>" | "<-=>" | "<~=>" | "~>" | "<~" | "<~>" | "<-~>" | "<=~>"
    JssmArrowDirection: "left" | "right" | "both"
    JssmArrowKind: "none" | "legal" | "main" | "forced"
    JssmBaseTheme: { action: undefined; active: JssmStateConfig; active_end: JssmStateConfig; active_hooked: JssmStateConfig; active_start: JssmStateConfig; active_terminal: JssmStateConfig; end: JssmStateConfig; forced: undefined; graph: undefined; hooked: JssmStateConfig; legal: undefined; main: undefined; name: string; start: JssmStateConfig; state: JssmStateConfig; terminal: JssmStateConfig; title: undefined }

    Type declaration

    JssmColor: string
    JssmCompileRule<StateType>: { agg_as: string; val: any }

    Type Parameters

    • StateType

    Type declaration

    • agg_as: string
    • val: any
    JssmCompileSe<StateType, mDT>: { kind: JssmArrow; l_action?: StateType; l_probability: number; r_action?: StateType; r_probability: number; se: JssmCompileSe<StateType, mDT>; to: StateType }

    Type Parameters

    • StateType

    • mDT

    Type declaration

    • kind: JssmArrow
    • Optional l_action?: StateType
    • l_probability: number
    • Optional r_action?: StateType
    • r_probability: number
    • se: JssmCompileSe<StateType, mDT>
    • to: StateType
    JssmCompileSeStart<StateType, DataType>: { default_value?: any; from: StateType; key: string; name?: string; required?: boolean; se: JssmCompileSe<StateType, DataType>; state?: string; value?: string | number }

    Type Parameters

    • StateType

    • DataType

    Type declaration

    • Optional default_value?: any
    • from: StateType
    • key: string
    • Optional name?: string
    • Optional required?: boolean
    • se: JssmCompileSe<StateType, DataType>
    • Optional state?: string
    • Optional value?: string | number
    JssmErrorExtendedInfo: { requested_state?: StateType }

    Type declaration

    JssmGenericConfig<StateType, DataType>: { actions?: JssmPermittedOpt; allow_force?: false; allow_islands?: false; allows_override?: JssmAllowsOverride; arrange_declaration?: StateType[][]; arrange_end_declaration?: StateType[][]; arrange_start_declaration?: StateType[][]; auto_api?: boolean | string; check?: JssmStatePermitterMaybeArray<DataType>; complete?: StateType[]; config_allows_override?: JssmAllowsOverride; data?: DataType; default_active_state_config?: JssmStateStyleKeyList; default_end_state_config?: JssmStateStyleKeyList; default_hooked_state_config?: JssmStateStyleKeyList; default_start_state_config?: JssmStateStyleKeyList; default_state_config?: JssmStateStyleKeyList; default_terminal_state_config?: JssmStateStyleKeyList; dot_preamble?: string; end_states?: StateType[]; flow?: FslDirection; fsl_version?: string; graph_layout?: JssmLayout; history?: number; instance_name?: string; machine_author?: string | string[]; machine_comment?: string; machine_contributor?: string | string[]; machine_definition?: string; machine_language?: string; machine_license?: string; machine_name?: string; machine_version?: string; max_exits?: number; min_exits?: number; name?: string; nodes?: StateType[]; property_definition?: JssmPropertyDefinition[]; rng_seed?: number; simplify_bidi?: boolean; start_states: StateType[]; state_declaration?: <internal>.Object[]; state_property?: JssmPropertyDefinition[]; theme?: FslTheme[]; transitions: JssmTransitions<StateType, DataType> }

    Type Parameters

    • StateType

    • DataType

    Type declaration

    • Optional actions?: JssmPermittedOpt
    • Optional allow_force?: false
    • Optional allow_islands?: false
    • Optional allows_override?: JssmAllowsOverride
    • Optional arrange_declaration?: StateType[][]
    • Optional arrange_end_declaration?: StateType[][]
    • Optional arrange_start_declaration?: StateType[][]
    • Optional auto_api?: boolean | string
    • Optional check?: JssmStatePermitterMaybeArray<DataType>
    • Optional complete?: StateType[]
    • Optional config_allows_override?: JssmAllowsOverride
    • Optional data?: DataType
    • Optional default_active_state_config?: JssmStateStyleKeyList
    • Optional default_end_state_config?: JssmStateStyleKeyList
    • Optional default_hooked_state_config?: JssmStateStyleKeyList
    • Optional default_start_state_config?: JssmStateStyleKeyList
    • Optional default_state_config?: JssmStateStyleKeyList
    • Optional default_terminal_state_config?: JssmStateStyleKeyList
    • Optional dot_preamble?: string
    • Optional end_states?: StateType[]
    • Optional flow?: FslDirection
    • Optional fsl_version?: string
    • Optional graph_layout?: JssmLayout
    • Optional history?: number
    • Optional instance_name?: string
    • Optional machine_author?: string | string[]
    • Optional machine_comment?: string
    • Optional machine_contributor?: string | string[]
    • Optional machine_definition?: string
    • Optional machine_language?: string
    • Optional machine_license?: string
    • Optional machine_name?: string
    • Optional machine_version?: string
    • Optional max_exits?: number
    • Optional min_exits?: number
    • Optional name?: string
    • Optional nodes?: StateType[]
    • Optional property_definition?: JssmPropertyDefinition[]
    • Optional rng_seed?: number
    • Optional simplify_bidi?: boolean
    • start_states: StateType[]
    • Optional state_declaration?: <internal>.Object[]
    • Optional state_property?: JssmPropertyDefinition[]
    • Optional theme?: FslTheme[]
    • transitions: JssmTransitions<StateType, DataType>
    JssmGenericMachine<DataType>: { allow_empty?: boolean; allow_force?: boolean; allow_islands?: boolean; check?: JssmStatePermitterMaybeArray<DataType>; data?: DataType; keep_history?: boolean | number; max_transitions?: number; min_transitions?: number; name?: string; nodes?: StateType[]; state: StateType; transitions: JssmTransitions<StateType, DataType> }

    Type Parameters

    • DataType

    Type declaration

    • Optional allow_empty?: boolean
    • Optional allow_force?: boolean
    • Optional allow_islands?: boolean
    • Optional check?: JssmStatePermitterMaybeArray<DataType>
    • Optional data?: DataType
    • Optional keep_history?: boolean | number
    • Optional max_transitions?: number
    • Optional min_transitions?: number
    • Optional name?: string
    • Optional nodes?: StateType[]
    • state: StateType
    • transitions: JssmTransitions<StateType, DataType>
    JssmGenericState: { complete: boolean; from: StateType[]; name: StateType; to: StateType[] }

    Type declaration

    JssmHistory<mDT>: circular_buffer<[StateType, mDT]>

    Type Parameters

    • mDT

    JssmLayout: "dot" | "circo" | "twopi" | "fdp"
    JssmMachineInternalState<DataType>: { actions: Map<StateType, Map<StateType, number>>; edge_map: Map<StateType, Map<StateType, number>>; edges: JssmTransition<StateType, DataType>[]; internal_state_impl_version: 1; named_transitions: Map<StateType, number>; reverse_actions: Map<StateType, Map<StateType, number>>; state: StateType; states: Map<StateType, JssmGenericState> }

    Type Parameters

    • DataType

    Type declaration

    JssmParseFunctionType<StateType, mDT>: ((string: any) => JssmParseTree<StateType, mDT>)

    Type Parameters

    • StateType

    • mDT

    Type declaration

    JssmParseTree<StateType, mDT>: JssmCompileSeStart<StateType, mDT>[]

    Type Parameters

    • StateType

    • mDT

    JssmPermitted: "required" | "disallowed"
    JssmPermittedOpt: "required" | "disallowed" | "optional"
    JssmPropertyDefinition: { default_value?: any; name: string; required?: boolean }

    Type declaration

    • Optional default_value?: any
    • name: string
    • Optional required?: boolean
    JssmRng: (() => number)

    Type declaration

      • (): number
      • Returns number

    JssmSerialization<DataType>: { comment?: string; data: DataType; history: [string, DataType][]; history_capacity: number; jssm_version: string; state: StateType; timestamp: number }

    Type Parameters

    • DataType

    Type declaration

    • Optional comment?: string
    • data: DataType
    • history: [string, DataType][]
    • history_capacity: number
    • jssm_version: string
    • state: StateType
    • timestamp: number
    JssmShape: "box" | "polygon" | "ellipse" | "oval" | "circle" | "point" | "egg" | "triangle" | "plaintext" | "plain" | "diamond" | "trapezium" | "parallelogram" | "house" | "pentagon" | "hexagon" | "septagon" | "octagon" | "doublecircle" | "doubleoctagon" | "tripleoctagon" | "invtriangle" | "invtrapezium" | "invhouse" | "Mdiamond" | "Msquare" | "Mcircle" | "rect" | "rectangle" | "square" | "star" | "none" | "underline" | "cylinder" | "note" | "tab" | "folder" | "box3d" | "component" | "promoter" | "cds" | "terminator" | "utr" | "primersite" | "restrictionsite" | "fivepoverhang" | "threepoverhang" | "noverhang" | "assembly" | "signature" | "insulator" | "ribosite" | "rnastab" | "proteasesite" | "proteinstab" | "rpromoter" | "rarrow" | "larrow" | "lpromoter" | "record"

    A type teaching Typescript the various supported shapes for nodes, mostly inherited from GraphViz

    -
    JssmStateConfig: Partial<JssmStateDeclaration>
    JssmStateDeclaration: { backgroundColor?: JssmColor; borderColor?: JssmColor; color?: JssmColor; corners?: JssmCorner; declarations: JssmStateDeclarationRule[]; lineStyle?: JssmLineStyle; property?: { name: string; value: unknown }; shape?: JssmShape; state: StateType; stateLabel?: string; textColor?: JssmColor }

    Type declaration

    JssmStateDeclarationRule: { key: string; name?: string; value: any }

    Type declaration

    • key: string
    • Optional name?: string
    • value: any
    JssmStateStyleKeyList: JssmStateStyleKey[]
    JssmTransition<StateType, DataType>: { action?: StateType; check?: JssmTransitionPermitterMaybeArray<DataType>; forced_only: boolean; from: StateType; kind: JssmArrowKind; main_path: boolean; name?: StateType; probability?: number; to: StateType }

    Type Parameters

    • StateType

    • DataType

    Type declaration

    JssmTransitionList: { entrances: StateType[]; exits: StateType[] }

    Type declaration

    JssmTransitionRule: StateType | JssmTransitionCycle
    JssmTransitions<StateType, DataType>: JssmTransition<StateType, DataType>[]

    Type Parameters

    • StateType

    • DataType

    Variables

    FslDirections: readonly ["up", "right", "down", "left"] = ...
    FslThemes: readonly ["default", "ocean", "modern", "plain", "bold"] = ...

    Legend

    • Namespace
    • Variable
    • Function
    • Function with type parameter
    • Type alias
    • Type alias with type parameter
    • Class
    • Class with type parameter

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file +
    JssmStateConfig: Partial<JssmStateDeclaration>
    JssmStateDeclaration: { backgroundColor?: JssmColor; borderColor?: JssmColor; color?: JssmColor; corners?: JssmCorner; declarations: JssmStateDeclarationRule[]; lineStyle?: JssmLineStyle; property?: { name: string; value: unknown }; shape?: JssmShape; state: StateType; stateLabel?: string; textColor?: JssmColor }

    Type declaration

    JssmStateDeclarationRule: { key: string; name?: string; value: any }

    Type declaration

    • key: string
    • Optional name?: string
    • value: any
    JssmStateStyleKeyList: JssmStateStyleKey[]
    JssmTransition<StateType, DataType>: { action?: StateType; check?: JssmTransitionPermitterMaybeArray<DataType>; forced_only: boolean; from: StateType; kind: JssmArrowKind; main_path: boolean; name?: StateType; probability?: number; to: StateType }

    Type Parameters

    • StateType

    • DataType

    Type declaration

    JssmTransitionList: { entrances: StateType[]; exits: StateType[] }

    Type declaration

    JssmTransitionRule: StateType | JssmTransitionCycle
    JssmTransitions<StateType, DataType>: JssmTransition<StateType, DataType>[]

    Type Parameters

    • StateType

    • DataType

    Variables

    FslDirections: readonly ["up", "right", "down", "left"] = ...
    FslThemes: readonly ["default", "ocean", "modern", "plain", "bold"] = ...

    Legend

    • Namespace
    • Variable
    • Function
    • Function with type parameter
    • Type alias
    • Type alias with type parameter
    • Class
    • Class with type parameter

    Settings

    Theme

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/docs/modules/jssm_util.html b/docs/docs/modules/jssm_util.html index 99ead5f4..ac231139 100644 --- a/docs/docs/modules/jssm_util.html +++ b/docs/docs/modules/jssm_util.html @@ -1,12 +1,12 @@ -jssm_util | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Variables

    histograph: Function = ...
    +jssm_util | JSSM, a JavaScript state machine - the FSM for FSL
    Options
    All
    • Public
    • Public/Protected
    • All
    Menu

    Index

    Variables

    histograph: Function = ...

    Returns the histograph of an array as a Map. Makes no attempt to cope with deep equality; will fail for complex contents, as such.

    import { histograph } from './jssm';

    histograph( [0, 0, 1, 1, 2, 2, 1] ); // Map()
    -
    weighted_histo_key: Function = ...
    weighted_rand_select: Function = ...
    weighted_sample_select: Function = ...

    Functions

    • arr_uniq_p<T>(el: T, i: number, source: T[]): boolean
    weighted_histo_key: Function = ...
    weighted_rand_select: Function = ...
    weighted_sample_select: Function = ...

    Functions

    • arr_uniq_p<T>(el: T, i: number, source: T[]): boolean
    • Predicate for validating an array for uniqueness. Not generally meant for external use.

      -

      Type Parameters

      • T

      Parameters

      • el: T
      • i: number
      • source: T[]

      Returns boolean

    • array_box_if_string(n: any): any
    • find_repeated<T>(arr: T[]): [T, number][]
    • array_box_if_string(n: any): any
    • find_repeated<T>(arr: T[]): [T, number][]
    • Lists all repeated items in an array along with their counts. Subject to matching rules of Map. NaN is manually removed because of conflict rules around unique. Because these are compared with === and because @@ -14,24 +14,24 @@ arrays and objects are never considered repeats.

      find_repeated<string>([ ]);                     // []
      find_repeated<string>([ "one" ]); // []
      find_repeated<string>([ "one", "two" ]); // []
      find_repeated<string>([ "one", "one" ]); // [ ["one", 2] ]
      find_repeated<string>([ "one", "two", "one" ]); // [ ["one", 2] ]
      find_repeated<number>([ 0, NaN, 0, NaN ]); // [ [0, 2] ]
      -

      Type Parameters

      • T

      Parameters

      • arr: T[]

      Returns [T, number][]

    • gen_splitmix32(a?: number): (() => number)
    • gen_splitmix32(a?: number): (() => number)
    • hook_name(from: string, to: string): string
    • hook_name(from: string, to: string): string
    • Internal method generating names for edges for the hook lookup map. Not meant for external use.

      -

      Parameters

      • from: string
      • to: string

      Returns string

    • name_bind_prop_and_state(prop: string, state: string): string
    • name_bind_prop_and_state(prop: string, state: string): string
    • Internal method generating names for edges for the hook lookup map. Not meant for external use.

      -

      Parameters

      • prop: string
      • state: string

      Returns string

    • named_hook_name(from: string, to: string, action: string): string
    • named_hook_name(from: string, to: string, action: string): string
    • Internal method generating names for actions for the hook lookup map. Not meant for external use.

      -

      Parameters

      • from: string
      • to: string
      • action: string

      Returns string

    • seq(n: number): number[]
    • seq(n: number): number[]
    • Returns, for a non-negative integer argument n, the series [0 .. n].

      import { seq } from './jssm';

      seq(5); // [0, 1, 2, 3, 4]
      seq(0); // []
      -

      Parameters

      • n: number

      Returns number[]

    • unique<T>(arr?: T[]): T[]
    • unique<T>(arr?: T[]): T[]
    • Reduces an array to its unique contents. Compares with === and makes no effort to deep-compare contents; two matching arrays or objects contained will be treated as distinct, according to javascript rules. This also means diff --git a/docs/docs/modules/version.html b/docs/docs/modules/version.html index fe308b01..90a6b43a 100644 --- a/docs/docs/modules/version.html +++ b/docs/docs/modules/version.html @@ -1 +1 @@ -version | JSSM, a JavaScript state machine - the FSM for FSL

      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Legend

      • Namespace
      • Variable
      • Function
      • Function with type parameter
      • Type alias
      • Type alias with type parameter
      • Class
      • Class with type parameter

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file +version | JSSM, a JavaScript state machine - the FSM for FSL
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Legend

      • Namespace
      • Variable
      • Function
      • Function with type parameter
      • Type alias
      • Type alias with type parameter
      • Class
      • Class with type parameter

      Settings

      Theme

      Generated using TypeDoc

      \ No newline at end of file diff --git a/docs/docs/pages/CHANGELOG.long.html b/docs/docs/pages/CHANGELOG.long.html index cbbf0bc5..97a01e9e 100644 --- a/docs/docs/pages/CHANGELOG.long.html +++ b/docs/docs/pages/CHANGELOG.long.html @@ -3,7 +3,7 @@

      Changelog

      All notable changes to this project will be documented in this file.

      -

      1108 merges; 190 releases

      +

      1109 merges; 190 releases

       

       

      Published tags:

      @@ -11,6 +11,17 @@

      Changelog

       

       

      + +

      [Untagged] - 12/26/2023 11:43:35 AM

      +
      +

      Commit 8957655fb3f79a9e4c548b3e011d7927516e0750

      +

      Author: John Haugeland <stonecypher@gmail.com>

      +
        +
      • le sigh, reserved word got missed, not sure why it doesn't trigger here
      • +
      +

       

      +

       

      +

      [Untagged] - 12/26/2023 11:34:22 AM

      diff --git a/package.json b/package.json index 07c56450..7f48a957 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jssm", - "version": "5.91.2", + "version": "5.91.3", "engines": { "node": ">=10.0.0" }, diff --git a/src/buildjs/verify_version_bump.js b/src/buildjs/verify_version_bump.cjs similarity index 100% rename from src/buildjs/verify_version_bump.js rename to src/buildjs/verify_version_bump.cjs diff --git a/src/doc_md/CHANGELOG.long.md b/src/doc_md/CHANGELOG.long.md index 60e63ce5..7556566a 100644 --- a/src/doc_md/CHANGELOG.long.md +++ b/src/doc_md/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1108 merges; 190 releases +1109 merges; 190 releases @@ -18,6 +18,21 @@ Published tags: +  + +  + +## [Untagged] - 12/26/2023 11:43:35 AM + +Commit [8957655fb3f79a9e4c548b3e011d7927516e0750](https://github.com/StoneCypher/jssm/commit/8957655fb3f79a9e4c548b3e011d7927516e0750) + +Author: `John Haugeland ` + + * le sigh, reserved word got missed, not sure why it doesn't trigger here + + + +     diff --git a/src/doc_md/CHANGELOG.md b/src/doc_md/CHANGELOG.md index 61823a3f..5785ec44 100644 --- a/src/doc_md/CHANGELOG.md +++ b/src/doc_md/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1108 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1109 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -18,6 +18,21 @@ Published tags: +  + +  + +## [Untagged] - 12/26/2023 11:43:35 AM + +Commit [8957655fb3f79a9e4c548b3e011d7927516e0750](https://github.com/StoneCypher/jssm/commit/8957655fb3f79a9e4c548b3e011d7927516e0750) + +Author: `John Haugeland ` + + * le sigh, reserved word got missed, not sure why it doesn't trigger here + + + +     @@ -158,19 +173,4 @@ Author: `John Haugeland ` Merges [1401a08, a0fa6f3] - * Merge branch 'UpdateWorkflowNodeVersions' - - - - -  - -  - -## [Untagged] - 10/25/2023 11:21:44 AM - -Commit [1401a08396ff0f47bf67f52f8895a513513b3c17](https://github.com/StoneCypher/jssm/commit/1401a08396ff0f47bf67f52f8895a513513b3c17) - -Author: `John Haugeland ` - - * replace mulberry with splitmix32, fixes StoneCypher/fsl#1250 \ No newline at end of file + * Merge branch 'UpdateWorkflowNodeVersions' \ No newline at end of file diff --git a/src/ts/version.ts b/src/ts/version.ts index 4837b653..6477d1bf 100644 --- a/src/ts/version.ts +++ b/src/ts/version.ts @@ -1,5 +1,5 @@ -const version : string = "5.91.2", - build_time : number = 1703619620703; +const version : string = "5.91.3", + build_time : number = 1703620218243; export { version, build_time }; From 7506dede45ac1d8745109d7d998bcd54421af38a Mon Sep 17 00:00:00 2001 From: John Haugeland Date: Tue, 26 Dec 2023 11:59:09 -0800 Subject: [PATCH 6/9] set version to 5.91.0 --- CHANGELOG.long.md | 17 +++- CHANGELOG.md | 36 ++++---- README.md | 4 +- dist/deno/README.md | 4 +- dist/deno/jssm.js | 2 +- dist/es6/version.js | 2 +- dist/jssm.es5.cjs.js | 2 +- dist/jssm.es5.iife.js | 2 +- docs/docs/classes/jssm.Machine.html | 88 ++++++++++---------- docs/docs/classes/jssm_error.JssmError.html | 2 +- docs/docs/modules/jssm.html | 18 ++-- docs/docs/modules/jssm_constants.html | 2 +- docs/docs/modules/jssm_types._internal_.html | 2 +- docs/docs/modules/jssm_types.html | 4 +- docs/docs/modules/jssm_util.html | 18 ++-- docs/docs/modules/version.html | 2 +- docs/docs/pages/CHANGELOG.long.html | 13 ++- package.json | 2 +- src/doc_md/CHANGELOG.long.md | 17 +++- src/doc_md/CHANGELOG.md | 36 ++++---- src/ts/version.ts | 4 +- 21 files changed, 157 insertions(+), 120 deletions(-) diff --git a/CHANGELOG.long.md b/CHANGELOG.long.md index 7556566a..63ffb986 100644 --- a/CHANGELOG.long.md +++ b/CHANGELOG.long.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1109 merges; 190 releases +1110 merges; 190 releases @@ -18,6 +18,21 @@ Published tags: +  + +  + +## [Untagged] - 12/26/2023 11:52:10 AM + +Commit [eae31306383e982cbaf2a76c6bd276835a88c670](https://github.com/StoneCypher/jssm/commit/eae31306383e982cbaf2a76c6bd276835a88c670) + +Author: `John Haugeland ` + + * more minor build nonsense + + + +     diff --git a/CHANGELOG.md b/CHANGELOG.md index 5785ec44..835eb5d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. -1109 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) +1110 merges; 190 releases; Changlogging the last 10 commits; Full changelog at [CHANGELOG.long.md](CHANGELOG.long.md) @@ -18,6 +18,21 @@ Published tags: +  + +  + +## [Untagged] - 12/26/2023 11:52:10 AM + +Commit [eae31306383e982cbaf2a76c6bd276835a88c670](https://github.com/StoneCypher/jssm/commit/eae31306383e982cbaf2a76c6bd276835a88c670) + +Author: `John Haugeland ` + + * more minor build nonsense + + + +     @@ -156,21 +171,4 @@ Commit [bba1f0a273ca73ffe105eed27619fc6b31247568](https://github.com/StoneCypher Author: `John Haugeland ` - * update github action to cover more modern node versions to cover 20 and 21 - - - - -  - -  - -## [Untagged] - 10/25/2023 11:23:28 AM - -Commit [21be69d4b3e592534342a113d259f59bbea4e23b](https://github.com/StoneCypher/jssm/commit/21be69d4b3e592534342a113d259f59bbea4e23b) - -Author: `John Haugeland ` - -Merges [1401a08, a0fa6f3] - - * Merge branch 'UpdateWorkflowNodeVersions' \ No newline at end of file + * update github action to cover more modern node versions to cover 20 and 21 \ No newline at end of file diff --git a/README.md b/README.md index bac4d955..bd544d94 100644 --- a/README.md +++ b/README.md @@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.91.3 at 12/26/2023, 11:51:47 AM +* Generated for version 5.91.0 at 12/26/2023, 11:55:29 AM --> -# jssm 5.91.3 +# jssm 5.91.0 Easy. Small. Fast. TS, es6, es5. Node, Browser. 100% coverage. Property tests. Fuzz tests. Language tests for a dozen languages and emoji. Easy to diff --git a/dist/deno/README.md b/dist/deno/README.md index bac4d955..bd544d94 100644 --- a/dist/deno/README.md +++ b/dist/deno/README.md @@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md` -* Generated for version 5.91.3 at 12/26/2023, 11:51:47 AM +* Generated for version 5.91.0 at 12/26/2023, 11:55:29 AM --> -# jssm 5.91.3 +# jssm 5.91.0 Easy. Small. Fast. TS, es6, es5. Node, Browser. 100% coverage. Property tests. Fuzz tests. Language tests for a dozen languages and emoji. Easy to diff --git a/dist/deno/jssm.js b/dist/deno/jssm.js index dd9115ad..15005aff 100644 --- a/dist/deno/jssm.js +++ b/dist/deno/jssm.js @@ -1 +1 @@ -class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.3",build_time=1703620218243;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; +class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703620444124;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}export{FslDirections,Machine,abstract_hook_step,arrow_direction,arrow_left_kind,arrow_right_kind,build_time,compile,constants,deserialize,find_repeated,from,gviz_shapes,histograph,is_hook_complex_result,is_hook_rejection,make,named_colors,wrap_parse as parse,seq,shapes,sm,state_style_condense,transfer_state_properties,unique,version,weighted_histo_key,weighted_rand_select,weighted_sample_select}; diff --git a/dist/es6/version.js b/dist/es6/version.js index dadb8e40..6b47d186 100644 --- a/dist/es6/version.js +++ b/dist/es6/version.js @@ -1,2 +1,2 @@ -const version = "5.91.3", build_time = 1703620218243; +const version = "5.91.0", build_time = 1703620444124; export { version, build_time }; diff --git a/dist/jssm.es5.cjs.js b/dist/jssm.es5.cjs.js index 204097d9..5d501809 100644 --- a/dist/jssm.es5.cjs.js +++ b/dist/jssm.es5.cjs.js @@ -1 +1 @@ -"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.3",build_time=1703620218243;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; +"use strict";Object.defineProperty(exports,"__esModule",{value:true});class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703620444124;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select; diff --git a/dist/jssm.es5.iife.js b/dist/jssm.es5.iife.js index 3278a8c9..a3eba5e3 100644 --- a/dist/jssm.es5.iife.js +++ b/dist/jssm.es5.iife.js @@ -1 +1 @@ -var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.3",build_time=1703620218243;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); +var jssm=function(exports){"use strict";class circular_buffer{constructor(uCapacity){if(!Number.isInteger(uCapacity)){throw new RangeError(`Capacity must be an integer, received ${uCapacity}`)}if(uCapacity<0){throw new RangeError(`Capacity must be a non-negative integer, received ${uCapacity}`)}this._values=new Array(uCapacity);this._capacity=uCapacity;this._cursor=0;this._offset=0;this._length=0}get capacity(){return this._capacity}set capacity(newSize){this.resize(newSize)}get length(){return this._length}set length(newLength){if(newLength>this._capacity){throw new RangeError(`Requested new length [${newLength}] exceeds container capacity [${this._capacity}]`)}if(newLength<0){throw new RangeError(`Requested new length [${newLength}] cannot be negative`)}if(!Number.isInteger(newLength)){throw new RangeError(`Requested new length [${newLength}] must be an integer`)}if(this._length<=newLength){return}this._length=newLength}get available(){return this._capacity-this._length}get isEmpty(){return this._length===0}get isFull(){return this._length===this._capacity}get first(){if(this.isEmpty){throw new RangeError("Cannot return first element of an empty container")}return this.at(0)}get last(){if(this.isEmpty){throw new RangeError("Cannot return last element of an empty container")}return this.at(this.length-1)}static from(i,map_fn,t){const new_array=map_fn?Array.from(i,map_fn,t):Array.from(i);const target_length=new_array.length;const ncb=new circular_buffer(target_length);ncb._values=new_array;ncb._length=target_length;return ncb}push(v){if(this.isFull){throw new RangeError(`Cannot push, structure is full to capacity`)}this._values[(this._cursor+this._length++)%this._capacity]=v;return v}shove(v){let shoved;if(this._capacity===0){throw new RangeError(`Cannot shove, structure is zero-capacity`)}if(this.isFull){shoved=this.pop()}this.push(v);return shoved}fill(x){for(let i=0;i=this._capacity){this._cursor-=this._capacity}return cache}at(i){if(i<0){throw new RangeError(`circular_buffer does not support negative traversals; called at(${i})`)}if(!Number.isInteger(i)){throw new RangeError(`Accessors must be non-negative integers; called at(${i})`)}if(i>=this._capacity){throw new RangeError(`Requested cell ${i} exceeds container permanent capacity`)}if(i>=this._length){throw new RangeError(`Requested cell ${i} exceeds container current length`)}return this._values[(this._cursor+i)%this._capacity]}pos(i){return this.at(i-this.offset())}offset(){return this._offset}resize(newSize,preferEnd=false){this._values=this.toArray();this._cursor=0;const oldSize=this._length;this._length=Math.min(this._length,newSize);this._capacity=newSize;if(newSize>=oldSize){this._values.length=newSize}else{if(preferEnd){const tmp=this._values.slice(oldSize-newSize);this._values=tmp}else{this._values.length=newSize}}}toArray(){const startPoint=this._cursor%this._capacity;if(this._capacity>startPoint+this._length){return this._values.slice(startPoint,startPoint+this._length)}else{const base=this._values.slice(startPoint,this._capacity);base.push(...this._values.slice(0,this.length-(this._capacity-startPoint)));return base}}}const FslDirections=["up","right","down","left"];class JssmError extends Error{constructor(machine,message,JEEI){const{requested_state:requested_state}=JEEI===undefined?{requested_state:undefined}:JEEI;const follow_ups=[];if(machine){if(machine.state()!==undefined){follow_ups.push(`at "${machine.state()}"`)}}if(requested_state!==undefined){follow_ups.push(`requested "${requested_state}"`)}const complex_msg=`${(machine===null||machine===void 0?void 0:machine.instance_name())!==undefined?`[[${machine.instance_name()}]]: `:""}${message}${follow_ups.length?` (${follow_ups.join(", ")})`:""}`;super(complex_msg);this.name="JssmError";this.message=complex_msg;this.base_message=message;this.requested_state=requested_state}}function arrow_direction(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"right";case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"left";case"<->":case"↔":case"<-=>":case"←⇒":case"←=>":case"<-⇒":case"<-~>":case"←↛":case"←~>":case"<-↛":case"<=>":case"⇔":case"<=->":case"⇐→":case"⇐->":case"<=→":case"<=~>":case"⇐↛":case"⇐~>":case"<=↛":case"<~>":case"↮":case"<~->":case"↚→":case"↚->":case"<~→":case"<~=>":case"↚⇒":case"↚=>":case"<~⇒":return"both";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_left_kind(arrow){switch(String(arrow)){case"->":case"→":case"=>":case"⇒":case"~>":case"↛":return"none";case"<-":case"←":case"<->":case"↔":case"<-=>":case"←⇒":case"<-~>":case"←↛":return"legal";case"<=":case"⇐":case"<=>":case"⇔":case"<=->":case"⇐→":case"<=~>":case"⇐↛":return"main";case"<~":case"↚":case"<~>":case"↮":case"<~->":case"↚→":case"<~=>":case"↚⇒":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function arrow_right_kind(arrow){switch(String(arrow)){case"<-":case"←":case"<=":case"⇐":case"<~":case"↚":return"none";case"->":case"→":case"<->":case"↔":case"<=->":case"⇐→":case"<~->":case"↚→":return"legal";case"=>":case"⇒":case"<=>":case"⇔":case"<-=>":case"←⇒":case"<~=>":case"↚⇒":return"main";case"~>":case"↛":case"<~>":case"↮":case"<-~>":case"←↛":case"<=~>":case"⇐↛":return"forced";default:throw new JssmError(undefined,`arrow_direction: unknown arrow type ${arrow}`)}}function peg$subclass(child,parent){function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor}function peg$SyntaxError(message,expected,found,location){this.message=message;this.expected=expected;this.found=found;this.location=location;this.name="SyntaxError";if(typeof Error.captureStackTrace==="function"){Error.captureStackTrace(this,peg$SyntaxError)}}peg$subclass(peg$SyntaxError,Error);peg$SyntaxError.buildMessage=function(expected,found){var DESCRIBE_EXPECTATION_FNS={literal:function(expectation){return'"'+literalEscape(expectation.text)+'"'},class:function(expectation){var escapedParts="",i;for(i=0;i0){for(i=1,j=1;it[0]));themes.push(th);return themes},peg$c16=function(th){return[th]},peg$c17="box3d",peg$c18=peg$literalExpectation("box3d",false),peg$c19="polygon",peg$c20=peg$literalExpectation("polygon",false),peg$c21="ellipse",peg$c22=peg$literalExpectation("ellipse",false),peg$c23="oval",peg$c24=peg$literalExpectation("oval",false),peg$c25="circle",peg$c26=peg$literalExpectation("circle",false),peg$c27="point",peg$c28=peg$literalExpectation("point",false),peg$c29="egg",peg$c30=peg$literalExpectation("egg",false),peg$c31="triangle",peg$c32=peg$literalExpectation("triangle",false),peg$c33="plaintext",peg$c34=peg$literalExpectation("plaintext",false),peg$c35="plain",peg$c36=peg$literalExpectation("plain",false),peg$c37="diamond",peg$c38=peg$literalExpectation("diamond",false),peg$c39="trapezium",peg$c40=peg$literalExpectation("trapezium",false),peg$c41="parallelogram",peg$c42=peg$literalExpectation("parallelogram",false),peg$c43="house",peg$c44=peg$literalExpectation("house",false),peg$c45="pentagon",peg$c46=peg$literalExpectation("pentagon",false),peg$c47="hexagon",peg$c48=peg$literalExpectation("hexagon",false),peg$c49="septagon",peg$c50=peg$literalExpectation("septagon",false),peg$c51="octagon",peg$c52=peg$literalExpectation("octagon",false),peg$c53="doublecircle",peg$c54=peg$literalExpectation("doublecircle",false),peg$c55="doubleoctagon",peg$c56=peg$literalExpectation("doubleoctagon",false),peg$c57="tripleoctagon",peg$c58=peg$literalExpectation("tripleoctagon",false),peg$c59="invtriangle",peg$c60=peg$literalExpectation("invtriangle",false),peg$c61="invtrapezium",peg$c62=peg$literalExpectation("invtrapezium",false),peg$c63="invhouse",peg$c64=peg$literalExpectation("invhouse",false),peg$c65="Mdiamond",peg$c66=peg$literalExpectation("Mdiamond",false),peg$c67="Msquare",peg$c68=peg$literalExpectation("Msquare",false),peg$c69="Mcircle",peg$c70=peg$literalExpectation("Mcircle",false),peg$c71="rectangle",peg$c72=peg$literalExpectation("rectangle",false),peg$c73="rect",peg$c74=peg$literalExpectation("rect",false),peg$c75="square",peg$c76=peg$literalExpectation("square",false),peg$c77="star",peg$c78=peg$literalExpectation("star",false),peg$c79="underline",peg$c80=peg$literalExpectation("underline",false),peg$c81="cylinder",peg$c82=peg$literalExpectation("cylinder",false),peg$c83="note",peg$c84=peg$literalExpectation("note",false),peg$c85="tab",peg$c86=peg$literalExpectation("tab",false),peg$c87="folder",peg$c88=peg$literalExpectation("folder",false),peg$c89="box",peg$c90=peg$literalExpectation("box",false),peg$c91="component",peg$c92=peg$literalExpectation("component",false),peg$c93="promoter",peg$c94=peg$literalExpectation("promoter",false),peg$c95="cds",peg$c96=peg$literalExpectation("cds",false),peg$c97="terminator",peg$c98=peg$literalExpectation("terminator",false),peg$c99="utr",peg$c100=peg$literalExpectation("utr",false),peg$c101="primersite",peg$c102=peg$literalExpectation("primersite",false),peg$c103="restrictionsite",peg$c104=peg$literalExpectation("restrictionsite",false),peg$c105="fivepoverhang",peg$c106=peg$literalExpectation("fivepoverhang",false),peg$c107="threepoverhang",peg$c108=peg$literalExpectation("threepoverhang",false),peg$c109="noverhang",peg$c110=peg$literalExpectation("noverhang",false),peg$c111="assembly",peg$c112=peg$literalExpectation("assembly",false),peg$c113="signature",peg$c114=peg$literalExpectation("signature",false),peg$c115="insulator",peg$c116=peg$literalExpectation("insulator",false),peg$c117="ribosite",peg$c118=peg$literalExpectation("ribosite",false),peg$c119="rnastab",peg$c120=peg$literalExpectation("rnastab",false),peg$c121="proteasesite",peg$c122=peg$literalExpectation("proteasesite",false),peg$c123="proteinstab",peg$c124=peg$literalExpectation("proteinstab",false),peg$c125="rpromoter",peg$c126=peg$literalExpectation("rpromoter",false),peg$c127="rarrow",peg$c128=peg$literalExpectation("rarrow",false),peg$c129="larrow",peg$c130=peg$literalExpectation("larrow",false),peg$c131="lpromoter",peg$c132=peg$literalExpectation("lpromoter",false),peg$c133="record",peg$c134=peg$literalExpectation("record",false),peg$c135=peg$otherExpectation("forward light arrow ->"),peg$c136="->",peg$c137=peg$literalExpectation("->",false),peg$c138="→",peg$c139=peg$literalExpectation("→",false),peg$c140=function(){return"->"},peg$c141=peg$otherExpectation("two way light arrow <->"),peg$c142="<->",peg$c143=peg$literalExpectation("<->",false),peg$c144="↔",peg$c145=peg$literalExpectation("↔",false),peg$c146=function(){return"<->"},peg$c147=peg$otherExpectation("back light arrow <-"),peg$c148="<-",peg$c149=peg$literalExpectation("<-",false),peg$c150="←",peg$c151=peg$literalExpectation("←",false),peg$c152=function(){return"<-"},peg$c153=peg$otherExpectation("forward fat arrow =>"),peg$c154="=>",peg$c155=peg$literalExpectation("=>",false),peg$c156="⇒",peg$c157=peg$literalExpectation("⇒",false),peg$c158=function(){return"=>"},peg$c159=peg$otherExpectation("two way fat arrow <=>"),peg$c160="<=>",peg$c161=peg$literalExpectation("<=>",false),peg$c162="⇔",peg$c163=peg$literalExpectation("⇔",false),peg$c164=function(){return"<=>"},peg$c165=peg$otherExpectation("back fat arrow <="),peg$c166="<=",peg$c167=peg$literalExpectation("<=",false),peg$c168="⇐",peg$c169=peg$literalExpectation("⇐",false),peg$c170=function(){return"<="},peg$c171=peg$otherExpectation("forward tilde arrow ~>"),peg$c172="~>",peg$c173=peg$literalExpectation("~>",false),peg$c174="↛",peg$c175=peg$literalExpectation("↛",false),peg$c176=function(){return"~>"},peg$c177=peg$otherExpectation("two way tilde arrow <~>"),peg$c178="<~>",peg$c179=peg$literalExpectation("<~>",false),peg$c180="↮",peg$c181=peg$literalExpectation("↮",false),peg$c182=function(){return"<~>"},peg$c183=peg$otherExpectation("back tilde arrow <~"),peg$c184="<~",peg$c185=peg$literalExpectation("<~",false),peg$c186="↚",peg$c187=peg$literalExpectation("↚",false),peg$c188=function(){return"<~"},peg$c189=peg$otherExpectation("light fat arrow <-=>"),peg$c190="<-=>",peg$c191=peg$literalExpectation("<-=>",false),peg$c192="←⇒",peg$c193=peg$literalExpectation("←⇒",false),peg$c194=function(){return"<-=>"},peg$c195=peg$otherExpectation("light tilde arrow <-~>"),peg$c196="<-~>",peg$c197=peg$literalExpectation("<-~>",false),peg$c198="←↛",peg$c199=peg$literalExpectation("←↛",false),peg$c200=function(){return"<-~>"},peg$c201=peg$otherExpectation("fat light arrow <=->"),peg$c202="<=->",peg$c203=peg$literalExpectation("<=->",false),peg$c204="⇐→",peg$c205=peg$literalExpectation("⇐→",false),peg$c206=function(){return"<=->"},peg$c207=peg$otherExpectation("fat tilde arrow <=~>"),peg$c208="<=~>",peg$c209=peg$literalExpectation("<=~>",false),peg$c210="⇐↛",peg$c211=peg$literalExpectation("⇐↛",false),peg$c212=function(){return"<=~>"},peg$c213=peg$otherExpectation("tilde light arrow <~->"),peg$c214="<~->",peg$c215=peg$literalExpectation("<~->",false),peg$c216="↚→",peg$c217=peg$literalExpectation("↚→",false),peg$c218=function(){return"<~->"},peg$c219=peg$otherExpectation("tilde fat arrow <~=>"),peg$c220="<~=>",peg$c221=peg$literalExpectation("<~=>",false),peg$c222="↚⇒",peg$c223=peg$literalExpectation("↚⇒",false),peg$c224=function(){return"<~=>"},peg$c225=peg$otherExpectation("light arrow"),peg$c226=peg$otherExpectation("fat arrow"),peg$c227=peg$otherExpectation("tilde arrow"),peg$c228=peg$otherExpectation("mixed arrow"),peg$c229=peg$otherExpectation("arrow"),peg$c230="true",peg$c231=peg$literalExpectation("true",false),peg$c232=function(){return true},peg$c233="false",peg$c234=peg$literalExpectation("false",false),peg$c235=function(){return false},peg$c236="regular",peg$c237=peg$literalExpectation("regular",false),peg$c238="rounded",peg$c239=peg$literalExpectation("rounded",false),peg$c240="lined",peg$c241=peg$literalExpectation("lined",false),peg$c242="solid",peg$c243=peg$literalExpectation("solid",false),peg$c244="dotted",peg$c245=peg$literalExpectation("dotted",false),peg$c246="dashed",peg$c247=peg$literalExpectation("dashed",false),peg$c248='"',peg$c249=peg$literalExpectation('"',false),peg$c250="\\",peg$c251=peg$literalExpectation("\\",false),peg$c252="/",peg$c253=peg$literalExpectation("/",false),peg$c254="b",peg$c255=peg$literalExpectation("b",false),peg$c256=function(){return"\b"},peg$c257="f",peg$c258=peg$literalExpectation("f",false),peg$c259=function(){return"\f"},peg$c260="n",peg$c261=peg$literalExpectation("n",false),peg$c262=function(){return"\n"},peg$c263="r",peg$c264=peg$literalExpectation("r",false),peg$c265=function(){return"\r"},peg$c266="t",peg$c267=peg$literalExpectation("t",false),peg$c268=function(){return"\t"},peg$c269="v",peg$c270=peg$literalExpectation("v",false),peg$c271=function(){return"\v"},peg$c272="u",peg$c273=peg$literalExpectation("u",false),peg$c274=function(digits){return String.fromCharCode(parseInt(digits,16))},peg$c275=function(Sequence){return Sequence},peg$c276="null",peg$c277=peg$literalExpectation("null",false),peg$c278=function(){return null},peg$c279="undefined",peg$c280=peg$literalExpectation("undefined",false),peg$c281=function(){return undefined},peg$c282=/^[\0-!#-[\]-\uFFFF]/,peg$c283=peg$classExpectation([["\0","!"],["#","["],["]","￿"]],false,false),peg$c284="'",peg$c285=peg$literalExpectation("'",false),peg$c286=/^[ -&(-[\]-\uFFFF]/,peg$c287=peg$classExpectation([[" ","&"],["(","["],["]","￿"]],false,false),peg$c288=peg$otherExpectation("action label"),peg$c289=function(chars){return chars.join("")},peg$c290=/^[\n\r\u2028\u2029]/,peg$c291=peg$classExpectation(["\n","\r","\u2028","\u2029"],false,false),peg$c294="*/",peg$c295=peg$literalExpectation("*/",false),peg$c296=peg$anyExpectation(),peg$c297=peg$otherExpectation("block comment"),peg$c298="/*",peg$c299=peg$literalExpectation("/*",false),peg$c300=peg$otherExpectation("line comment"),peg$c301="//",peg$c302=peg$literalExpectation("//",false),peg$c303=peg$otherExpectation("whitespace"),peg$c304=/^[ \t\r\n\x0B]/,peg$c305=peg$classExpectation([" ","\t","\r","\n","\v"],false,false),peg$c306=peg$otherExpectation("string"),peg$c307=/^[0-9a-zA-Z._!$\^*!?,\x80-\uFFFF]/,peg$c308=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","_","!","$","^","*","!","?",",",["€","￿"]],false,false),peg$c309=/^[0-9a-zA-Z.+_\^()*&$#@!?,\x80-\uFFFF]/,peg$c310=peg$classExpectation([["0","9"],["a","z"],["A","Z"],".","+","_","^","(",")","*","&","$","#","@","!","?",",",["€","￿"]],false,false),peg$c311=peg$otherExpectation("atom"),peg$c312=function(firstletter,text){return firstletter+(text||[]).join("")},peg$c313=peg$otherExpectation("label"),peg$c314="0",peg$c315=peg$literalExpectation("0",false),peg$c316=/^[0-9]/,peg$c317=peg$classExpectation([["0","9"]],false,false),peg$c318=/^[1-9]/,peg$c319=peg$classExpectation([["1","9"]],false,false),peg$c320=/^[0-9a-f]/i,peg$c321=peg$classExpectation([["0","9"],["a","f"]],false,true),peg$c322=/^[0-1]/,peg$c323=peg$classExpectation([["0","1"]],false,false),peg$c324=peg$otherExpectation("nonneg number"),peg$c325=".",peg$c326=peg$literalExpectation(".",false),peg$c327=function(){return parseFloat(text())},peg$c328=peg$otherExpectation("number"),peg$c329=function(literal){return literal},peg$c330="NaN",peg$c331=peg$literalExpectation("NaN",false),peg$c332=function(){return NaN},peg$c333="NegativeInfinity",peg$c334=peg$literalExpectation("NegativeInfinity",false),peg$c335=function(){return Number.NEGATIVE_INFINITY},peg$c336="NegativeInf",peg$c337=peg$literalExpectation("NegativeInf",false),peg$c338="NegInfinity",peg$c339=peg$literalExpectation("NegInfinity",false),peg$c340="NegInf",peg$c341=peg$literalExpectation("NegInf",false),peg$c342="NInfinity",peg$c343=peg$literalExpectation("NInfinity",false),peg$c344="NInf",peg$c345=peg$literalExpectation("NInf",false),peg$c346="-∞",peg$c347=peg$literalExpectation("-∞",false),peg$c348="PInfinity",peg$c349=peg$literalExpectation("PInfinity",false),peg$c350=function(){return Number.POSITIVE_INFINITY},peg$c351="Infinity",peg$c352=peg$literalExpectation("Infinity",false),peg$c353="PInf",peg$c354=peg$literalExpectation("PInf",false),peg$c355="Inf",peg$c356=peg$literalExpectation("Inf",false),peg$c357="∞",peg$c358=peg$literalExpectation("∞",false),peg$c359="Epsilon",peg$c360=peg$literalExpectation("Epsilon",false),peg$c361=function(){return Number.EPSILON},peg$c362="𝜀",peg$c363=peg$literalExpectation("𝜀",false),peg$c364="ε",peg$c365=peg$literalExpectation("ε",false),peg$c366="Pi",peg$c367=peg$literalExpectation("Pi",false),peg$c368=function(){return Math.PI},peg$c369="𝜋",peg$c370=peg$literalExpectation("𝜋",false),peg$c371="π",peg$c372=peg$literalExpectation("π",false),peg$c373="EulerNumber",peg$c374=peg$literalExpectation("EulerNumber",false),peg$c375=function(){return Math.E},peg$c376="E",peg$c377=peg$literalExpectation("E",false),peg$c378="e",peg$c379=peg$literalExpectation("e",false),peg$c380="Ɛ",peg$c381=peg$literalExpectation("Ɛ",false),peg$c382="ℇ",peg$c383=peg$literalExpectation("ℇ",false),peg$c384="Root2",peg$c385=peg$literalExpectation("Root2",false),peg$c386=function(){return Math.SQRT2},peg$c387="RootHalf",peg$c388=peg$literalExpectation("RootHalf",false),peg$c389=function(){return Math.SQRT1_2},peg$c390="Ln2",peg$c391=peg$literalExpectation("Ln2",false),peg$c392=function(){return Math.LN2},peg$c393="NatLog2",peg$c394=peg$literalExpectation("NatLog2",false),peg$c395="Ln10",peg$c396=peg$literalExpectation("Ln10",false),peg$c397=function(){return Math.LN10},peg$c398="NatLog10",peg$c399=peg$literalExpectation("NatLog10",false),peg$c400="Log2E",peg$c401=peg$literalExpectation("Log2E",false),peg$c402=function(){return Math.LOG2E},peg$c403="Log10E",peg$c404=peg$literalExpectation("Log10E",false),peg$c405=function(){return Math.LOG10E},peg$c406="MaxSafeInt",peg$c407=peg$literalExpectation("MaxSafeInt",false),peg$c408=function(){return Number.MAX_SAFE_INTEGER},peg$c409="MinSafeInt",peg$c410=peg$literalExpectation("MinSafeInt",false),peg$c411=function(){return Number.MIN_SAFE_INTEGER},peg$c412="MaxPosNum",peg$c413=peg$literalExpectation("MaxPosNum",false),peg$c414=function(){return Number.MAX_VALUE},peg$c415="MinPosNum",peg$c416=peg$literalExpectation("MinPosNum",false),peg$c417=function(){return Number.MIN_VALUE},peg$c418="Phi",peg$c419=peg$literalExpectation("Phi",false),peg$c420=function(){return 1.618033988749895},peg$c421="𝜑",peg$c422=peg$literalExpectation("𝜑",false),peg$c423="𝜙",peg$c424=peg$literalExpectation("𝜙",false),peg$c425="ϕ",peg$c426=peg$literalExpectation("ϕ",false),peg$c427="φ",peg$c428=peg$literalExpectation("φ",false),peg$c429="EulerConstant",peg$c430=peg$literalExpectation("EulerConstant",false),peg$c431=function(){return.5772156649015329},peg$c432="γ",peg$c433=peg$literalExpectation("γ",false),peg$c434="𝛾",peg$c435=peg$literalExpectation("𝛾",false),peg$c436=peg$literalExpectation("e",true),peg$c437=/^[+\-]/,peg$c438=peg$classExpectation(["+","-"],false,false),peg$c439="0x",peg$c440=peg$literalExpectation("0x",true),peg$c441=function(digits){return parseInt(digits,16)},peg$c442="0b",peg$c443=peg$literalExpectation("0b",true),peg$c444=function(digits){return parseInt(digits,2)},peg$c445="0o",peg$c446=peg$literalExpectation("0o",true),peg$c447=function(digits){return parseInt(digits,8)},peg$c448=function(major,minor,patch){return{major:parseInt(major,10),minor:parseInt(minor,10),patch:parseInt(patch,10),full:text()}},peg$c459="http://",peg$c460=peg$literalExpectation("http://",false),peg$c461="https://",peg$c462=peg$literalExpectation("https://",false),peg$c463=/^[a-zA-Z0-9!*'():;@&=+$,\/?#[\]_.~\-]/,peg$c464=peg$classExpectation([["a","z"],["A","Z"],["0","9"],"!","*","'","(",")",":",";","@","&","=","+","$",",","/","?","#","[","]","_",".","~","-"],false,false),peg$c465=function(protocol){return text()},peg$c466="aliceblue",peg$c467=peg$literalExpectation("aliceblue",false),peg$c468=function(){return"#f0f8ffff"},peg$c469="AliceBlue",peg$c470=peg$literalExpectation("AliceBlue",false),peg$c471="antiquewhite",peg$c472=peg$literalExpectation("antiquewhite",false),peg$c473=function(){return"#faebd7ff"},peg$c474="AntiqueWhite",peg$c475=peg$literalExpectation("AntiqueWhite",false),peg$c476="aquamarine",peg$c477=peg$literalExpectation("aquamarine",false),peg$c478=function(){return"#7fffd4ff"},peg$c479="Aquamarine",peg$c480=peg$literalExpectation("Aquamarine",false),peg$c481="aqua",peg$c482=peg$literalExpectation("aqua",false),peg$c483=function(){return"#00ffffff"},peg$c484="Aqua",peg$c485=peg$literalExpectation("Aqua",false),peg$c486="azure",peg$c487=peg$literalExpectation("azure",false),peg$c488=function(){return"#f0ffffff"},peg$c489="Azure",peg$c490=peg$literalExpectation("Azure",false),peg$c491="beige",peg$c492=peg$literalExpectation("beige",false),peg$c493=function(){return"#f5f5dcff"},peg$c494="Beige",peg$c495=peg$literalExpectation("Beige",false),peg$c496="bisque",peg$c497=peg$literalExpectation("bisque",false),peg$c498=function(){return"#ffe4c4ff"},peg$c499="Bisque",peg$c500=peg$literalExpectation("Bisque",false),peg$c501="black",peg$c502=peg$literalExpectation("black",false),peg$c503=function(){return"#000000ff"},peg$c504="Black",peg$c505=peg$literalExpectation("Black",false),peg$c506="blanchedalmond",peg$c507=peg$literalExpectation("blanchedalmond",false),peg$c508=function(){return"#ffebcdff"},peg$c509="BlanchedAlmond",peg$c510=peg$literalExpectation("BlanchedAlmond",false),peg$c511="blueviolet",peg$c512=peg$literalExpectation("blueviolet",false),peg$c513=function(){return"#8a2be2ff"},peg$c514="BlueViolet",peg$c515=peg$literalExpectation("BlueViolet",false),peg$c516="blue",peg$c517=peg$literalExpectation("blue",false),peg$c518=function(){return"#0000ffff"},peg$c519="Blue",peg$c520=peg$literalExpectation("Blue",false),peg$c521="brown",peg$c522=peg$literalExpectation("brown",false),peg$c523=function(){return"#a52a2aff"},peg$c524="Brown",peg$c525=peg$literalExpectation("Brown",false),peg$c526="burlywood",peg$c527=peg$literalExpectation("burlywood",false),peg$c528=function(){return"#deb887ff"},peg$c529="BurlyWood",peg$c530=peg$literalExpectation("BurlyWood",false),peg$c531="cadetblue",peg$c532=peg$literalExpectation("cadetblue",false),peg$c533=function(){return"#5f9ea0ff"},peg$c534="CadetBlue",peg$c535=peg$literalExpectation("CadetBlue",false),peg$c536="chartreuse",peg$c537=peg$literalExpectation("chartreuse",false),peg$c538=function(){return"#7fff00ff"},peg$c539="Chartreuse",peg$c540=peg$literalExpectation("Chartreuse",false),peg$c541="chocolate",peg$c542=peg$literalExpectation("chocolate",false),peg$c543=function(){return"#d2691eff"},peg$c544="Chocolate",peg$c545=peg$literalExpectation("Chocolate",false),peg$c546="coral",peg$c547=peg$literalExpectation("coral",false),peg$c548=function(){return"#ff7f50ff"},peg$c549="Coral",peg$c550=peg$literalExpectation("Coral",false),peg$c551="cornflowerblue",peg$c552=peg$literalExpectation("cornflowerblue",false),peg$c553=function(){return"#6495edff"},peg$c554="CornflowerBlue",peg$c555=peg$literalExpectation("CornflowerBlue",false),peg$c556="cornsilk",peg$c557=peg$literalExpectation("cornsilk",false),peg$c558=function(){return"#fff8dcff"},peg$c559="Cornsilk",peg$c560=peg$literalExpectation("Cornsilk",false),peg$c561="crimson",peg$c562=peg$literalExpectation("crimson",false),peg$c563=function(){return"#dc143cff"},peg$c564="Crimson",peg$c565=peg$literalExpectation("Crimson",false),peg$c566="cyan",peg$c567=peg$literalExpectation("cyan",false),peg$c568="Cyan",peg$c569=peg$literalExpectation("Cyan",false),peg$c570="darkblue",peg$c571=peg$literalExpectation("darkblue",false),peg$c572=function(){return"#00008bff"},peg$c573="DarkBlue",peg$c574=peg$literalExpectation("DarkBlue",false),peg$c575="darkcyan",peg$c576=peg$literalExpectation("darkcyan",false),peg$c577=function(){return"#008b8bff"},peg$c578="DarkCyan",peg$c579=peg$literalExpectation("DarkCyan",false),peg$c580="darkgoldenrod",peg$c581=peg$literalExpectation("darkgoldenrod",false),peg$c582=function(){return"#b8860bff"},peg$c583="DarkGoldenRod",peg$c584=peg$literalExpectation("DarkGoldenRod",false),peg$c585="darkgray",peg$c586=peg$literalExpectation("darkgray",false),peg$c587=function(){return"#a9a9a9ff"},peg$c588="DarkGray",peg$c589=peg$literalExpectation("DarkGray",false),peg$c590="darkgrey",peg$c591=peg$literalExpectation("darkgrey",false),peg$c592="DarkGrey",peg$c593=peg$literalExpectation("DarkGrey",false),peg$c594="darkgreen",peg$c595=peg$literalExpectation("darkgreen",false),peg$c596=function(){return"#006400ff"},peg$c597="DarkGreen",peg$c598=peg$literalExpectation("DarkGreen",false),peg$c599="darkkhaki",peg$c600=peg$literalExpectation("darkkhaki",false),peg$c601=function(){return"#bdb76bff"},peg$c602="DarkKhaki",peg$c603=peg$literalExpectation("DarkKhaki",false),peg$c604="darkmagenta",peg$c605=peg$literalExpectation("darkmagenta",false),peg$c606=function(){return"#8b008bff"},peg$c607="DarkMagenta",peg$c608=peg$literalExpectation("DarkMagenta",false),peg$c609="darkolivegreen",peg$c610=peg$literalExpectation("darkolivegreen",false),peg$c611=function(){return"#556b2fff"},peg$c612="DarkOliveGreen",peg$c613=peg$literalExpectation("DarkOliveGreen",false),peg$c614="darkorange",peg$c615=peg$literalExpectation("darkorange",false),peg$c616=function(){return"#ff8c00ff"},peg$c617="Darkorange",peg$c618=peg$literalExpectation("Darkorange",false),peg$c619="darkorchid",peg$c620=peg$literalExpectation("darkorchid",false),peg$c621=function(){return"#9932ccff"},peg$c622="DarkOrchid",peg$c623=peg$literalExpectation("DarkOrchid",false),peg$c624="darkred",peg$c625=peg$literalExpectation("darkred",false),peg$c626=function(){return"#8b0000ff"},peg$c627="DarkRed",peg$c628=peg$literalExpectation("DarkRed",false),peg$c629="darksalmon",peg$c630=peg$literalExpectation("darksalmon",false),peg$c631=function(){return"#e9967aff"},peg$c632="DarkSalmon",peg$c633=peg$literalExpectation("DarkSalmon",false),peg$c634="darkseagreen",peg$c635=peg$literalExpectation("darkseagreen",false),peg$c636=function(){return"#8fbc8fff"},peg$c637="DarkSeaGreen",peg$c638=peg$literalExpectation("DarkSeaGreen",false),peg$c639="darkslateblue",peg$c640=peg$literalExpectation("darkslateblue",false),peg$c641=function(){return"#483d8bff"},peg$c642="DarkSlateBlue",peg$c643=peg$literalExpectation("DarkSlateBlue",false),peg$c644="darkslategray",peg$c645=peg$literalExpectation("darkslategray",false),peg$c646=function(){return"#2f4f4fff"},peg$c647="DarkSlateGray",peg$c648=peg$literalExpectation("DarkSlateGray",false),peg$c649="darkslategrey",peg$c650=peg$literalExpectation("darkslategrey",false),peg$c651="DarkSlateGrey",peg$c652=peg$literalExpectation("DarkSlateGrey",false),peg$c653="darkturquoise",peg$c654=peg$literalExpectation("darkturquoise",false),peg$c655=function(){return"#00ced1ff"},peg$c656="DarkTurquoise",peg$c657=peg$literalExpectation("DarkTurquoise",false),peg$c658="darkviolet",peg$c659=peg$literalExpectation("darkviolet",false),peg$c660=function(){return"#9400d3ff"},peg$c661="DarkViolet",peg$c662=peg$literalExpectation("DarkViolet",false),peg$c663="deeppink",peg$c664=peg$literalExpectation("deeppink",false),peg$c665=function(){return"#ff1493ff"},peg$c666="DeepPink",peg$c667=peg$literalExpectation("DeepPink",false),peg$c668="deepskyblue",peg$c669=peg$literalExpectation("deepskyblue",false),peg$c670=function(){return"#00bfffff"},peg$c671="DeepSkyBlue",peg$c672=peg$literalExpectation("DeepSkyBlue",false),peg$c673="dimgray",peg$c674=peg$literalExpectation("dimgray",false),peg$c675=function(){return"#696969ff"},peg$c676="DimGray",peg$c677=peg$literalExpectation("DimGray",false),peg$c678="dimgrey",peg$c679=peg$literalExpectation("dimgrey",false),peg$c680="DimGrey",peg$c681=peg$literalExpectation("DimGrey",false),peg$c682="dodgerblue",peg$c683=peg$literalExpectation("dodgerblue",false),peg$c684=function(){return"#1e90ffff"},peg$c685="DodgerBlue",peg$c686=peg$literalExpectation("DodgerBlue",false),peg$c687="firebrick",peg$c688=peg$literalExpectation("firebrick",false),peg$c689=function(){return"#b22222ff"},peg$c690="FireBrick",peg$c691=peg$literalExpectation("FireBrick",false),peg$c692="floralwhite",peg$c693=peg$literalExpectation("floralwhite",false),peg$c694=function(){return"#fffaf0ff"},peg$c695="FloralWhite",peg$c696=peg$literalExpectation("FloralWhite",false),peg$c697="forestgreen",peg$c698=peg$literalExpectation("forestgreen",false),peg$c699=function(){return"#228b22ff"},peg$c700="ForestGreen",peg$c701=peg$literalExpectation("ForestGreen",false),peg$c702="fuchsia",peg$c703=peg$literalExpectation("fuchsia",false),peg$c704=function(){return"#ff00ffff"},peg$c705="Fuchsia",peg$c706=peg$literalExpectation("Fuchsia",false),peg$c707="gainsboro",peg$c708=peg$literalExpectation("gainsboro",false),peg$c709=function(){return"#dcdcdcff"},peg$c710="Gainsboro",peg$c711=peg$literalExpectation("Gainsboro",false),peg$c712="ghostwhite",peg$c713=peg$literalExpectation("ghostwhite",false),peg$c714=function(){return"#f8f8ffff"},peg$c715="GhostWhite",peg$c716=peg$literalExpectation("GhostWhite",false),peg$c717="goldenrod",peg$c718=peg$literalExpectation("goldenrod",false),peg$c719=function(){return"#daa520ff"},peg$c720="GoldenRod",peg$c721=peg$literalExpectation("GoldenRod",false),peg$c722="gold",peg$c723=peg$literalExpectation("gold",false),peg$c724=function(){return"#ffd700ff"},peg$c725="Gold",peg$c726=peg$literalExpectation("Gold",false),peg$c727="gray",peg$c728=peg$literalExpectation("gray",false),peg$c729=function(){return"#808080ff"},peg$c730="Gray",peg$c731=peg$literalExpectation("Gray",false),peg$c732="grey",peg$c733=peg$literalExpectation("grey",false),peg$c734="Grey",peg$c735=peg$literalExpectation("Grey",false),peg$c736="greenyellow",peg$c737=peg$literalExpectation("greenyellow",false),peg$c738=function(){return"#adff2fff"},peg$c739="GreenYellow",peg$c740=peg$literalExpectation("GreenYellow",false),peg$c741="green",peg$c742=peg$literalExpectation("green",false),peg$c743=function(){return"#008000ff"},peg$c744="Green",peg$c745=peg$literalExpectation("Green",false),peg$c746="honeydew",peg$c747=peg$literalExpectation("honeydew",false),peg$c748=function(){return"#f0fff0ff"},peg$c749="HoneyDew",peg$c750=peg$literalExpectation("HoneyDew",false),peg$c751="hotpink",peg$c752=peg$literalExpectation("hotpink",false),peg$c753=function(){return"#ff69b4ff"},peg$c754="HotPink",peg$c755=peg$literalExpectation("HotPink",false),peg$c756="indianred",peg$c757=peg$literalExpectation("indianred",false),peg$c758=function(){return"#cd5c5cff"},peg$c759="IndianRed",peg$c760=peg$literalExpectation("IndianRed",false),peg$c761="indigo",peg$c762=peg$literalExpectation("indigo",false),peg$c763=function(){return"#4b0082ff"},peg$c764="Indigo",peg$c765=peg$literalExpectation("Indigo",false),peg$c766="ivory",peg$c767=peg$literalExpectation("ivory",false),peg$c768=function(){return"#fffff0ff"},peg$c769="Ivory",peg$c770=peg$literalExpectation("Ivory",false),peg$c771="khaki",peg$c772=peg$literalExpectation("khaki",false),peg$c773=function(){return"#f0e68cff"},peg$c774="Khaki",peg$c775=peg$literalExpectation("Khaki",false),peg$c776="lavenderblush",peg$c777=peg$literalExpectation("lavenderblush",false),peg$c778=function(){return"#fff0f5ff"},peg$c779="LavenderBlush",peg$c780=peg$literalExpectation("LavenderBlush",false),peg$c781="lavender",peg$c782=peg$literalExpectation("lavender",false),peg$c783=function(){return"#e6e6faff"},peg$c784="Lavender",peg$c785=peg$literalExpectation("Lavender",false),peg$c786="lawngreen",peg$c787=peg$literalExpectation("lawngreen",false),peg$c788=function(){return"#7cfc00ff"},peg$c789="LawnGreen",peg$c790=peg$literalExpectation("LawnGreen",false),peg$c791="lemonchiffon",peg$c792=peg$literalExpectation("lemonchiffon",false),peg$c793=function(){return"#fffacdff"},peg$c794="LemonChiffon",peg$c795=peg$literalExpectation("LemonChiffon",false),peg$c796="lightblue",peg$c797=peg$literalExpectation("lightblue",false),peg$c798=function(){return"#add8e6ff"},peg$c799="LightBlue",peg$c800=peg$literalExpectation("LightBlue",false),peg$c801="lightcoral",peg$c802=peg$literalExpectation("lightcoral",false),peg$c803=function(){return"#f08080ff"},peg$c804="LightCoral",peg$c805=peg$literalExpectation("LightCoral",false),peg$c806="lightcyan",peg$c807=peg$literalExpectation("lightcyan",false),peg$c808=function(){return"#e0ffffff"},peg$c809="LightCyan",peg$c810=peg$literalExpectation("LightCyan",false),peg$c811="lightgoldenrodyellow",peg$c812=peg$literalExpectation("lightgoldenrodyellow",false),peg$c813=function(){return"#fafad2ff"},peg$c814="LightGoldenRodYellow",peg$c815=peg$literalExpectation("LightGoldenRodYellow",false),peg$c816="lightgray",peg$c817=peg$literalExpectation("lightgray",false),peg$c818=function(){return"#d3d3d3ff"},peg$c819="LightGray",peg$c820=peg$literalExpectation("LightGray",false),peg$c821="lightgrey",peg$c822=peg$literalExpectation("lightgrey",false),peg$c823="LightGrey",peg$c824=peg$literalExpectation("LightGrey",false),peg$c825="lightgreen",peg$c826=peg$literalExpectation("lightgreen",false),peg$c827=function(){return"#90ee90ff"},peg$c828="LightGreen",peg$c829=peg$literalExpectation("LightGreen",false),peg$c830="lightpink",peg$c831=peg$literalExpectation("lightpink",false),peg$c832=function(){return"#ffb6c1ff"},peg$c833="LightPink",peg$c834=peg$literalExpectation("LightPink",false),peg$c835="lightsalmon",peg$c836=peg$literalExpectation("lightsalmon",false),peg$c837=function(){return"#ffa07aff"},peg$c838="LightSalmon",peg$c839=peg$literalExpectation("LightSalmon",false),peg$c840="lightseagreen",peg$c841=peg$literalExpectation("lightseagreen",false),peg$c842=function(){return"#20b2aaff"},peg$c843="LightSeaGreen",peg$c844=peg$literalExpectation("LightSeaGreen",false),peg$c845="lightskyblue",peg$c846=peg$literalExpectation("lightskyblue",false),peg$c847=function(){return"#87cefaff"},peg$c848="LightSkyBlue",peg$c849=peg$literalExpectation("LightSkyBlue",false),peg$c850="lightslategray",peg$c851=peg$literalExpectation("lightslategray",false),peg$c852=function(){return"#778899ff"},peg$c853="LightSlateGray",peg$c854=peg$literalExpectation("LightSlateGray",false),peg$c855="lightslategrey",peg$c856=peg$literalExpectation("lightslategrey",false),peg$c857="LightSlateGrey",peg$c858=peg$literalExpectation("LightSlateGrey",false),peg$c859="lightsteelblue",peg$c860=peg$literalExpectation("lightsteelblue",false),peg$c861=function(){return"#b0c4deff"},peg$c862="LightSteelBlue",peg$c863=peg$literalExpectation("LightSteelBlue",false),peg$c864="lightyellow",peg$c865=peg$literalExpectation("lightyellow",false),peg$c866=function(){return"#ffffe0ff"},peg$c867="LightYellow",peg$c868=peg$literalExpectation("LightYellow",false),peg$c869="limegreen",peg$c870=peg$literalExpectation("limegreen",false),peg$c871=function(){return"#32cd32ff"},peg$c872="LimeGreen",peg$c873=peg$literalExpectation("LimeGreen",false),peg$c874="lime",peg$c875=peg$literalExpectation("lime",false),peg$c876=function(){return"#00ff00ff"},peg$c877="Lime",peg$c878=peg$literalExpectation("Lime",false),peg$c879="linen",peg$c880=peg$literalExpectation("linen",false),peg$c881=function(){return"#faf0e6ff"},peg$c882="Linen",peg$c883=peg$literalExpectation("Linen",false),peg$c884="magenta",peg$c885=peg$literalExpectation("magenta",false),peg$c886="Magenta",peg$c887=peg$literalExpectation("Magenta",false),peg$c888="maroon",peg$c889=peg$literalExpectation("maroon",false),peg$c890=function(){return"#800000ff"},peg$c891="Maroon",peg$c892=peg$literalExpectation("Maroon",false),peg$c893="mediumaquamarine",peg$c894=peg$literalExpectation("mediumaquamarine",false),peg$c895=function(){return"#66cdaaff"},peg$c896="MediumAquaMarine",peg$c897=peg$literalExpectation("MediumAquaMarine",false),peg$c898="mediumblue",peg$c899=peg$literalExpectation("mediumblue",false),peg$c900=function(){return"#0000cdff"},peg$c901="MediumBlue",peg$c902=peg$literalExpectation("MediumBlue",false),peg$c903="mediumorchid",peg$c904=peg$literalExpectation("mediumorchid",false),peg$c905=function(){return"#ba55d3ff"},peg$c906="MediumOrchid",peg$c907=peg$literalExpectation("MediumOrchid",false),peg$c908="mediumpurple",peg$c909=peg$literalExpectation("mediumpurple",false),peg$c910=function(){return"#9370d8ff"},peg$c911="MediumPurple",peg$c912=peg$literalExpectation("MediumPurple",false),peg$c913="mediumseagreen",peg$c914=peg$literalExpectation("mediumseagreen",false),peg$c915=function(){return"#3cb371ff"},peg$c916="MediumSeaGreen",peg$c917=peg$literalExpectation("MediumSeaGreen",false),peg$c918="mediumslateblue",peg$c919=peg$literalExpectation("mediumslateblue",false),peg$c920=function(){return"#7b68eeff"},peg$c921="MediumSlateBlue",peg$c922=peg$literalExpectation("MediumSlateBlue",false),peg$c923="mediumspringgreen",peg$c924=peg$literalExpectation("mediumspringgreen",false),peg$c925=function(){return"#00fa9aff"},peg$c926="MediumSpringGreen",peg$c927=peg$literalExpectation("MediumSpringGreen",false),peg$c928="mediumturquoise",peg$c929=peg$literalExpectation("mediumturquoise",false),peg$c930=function(){return"#48d1ccff"},peg$c931="MediumTurquoise",peg$c932=peg$literalExpectation("MediumTurquoise",false),peg$c933="mediumvioletred",peg$c934=peg$literalExpectation("mediumvioletred",false),peg$c935=function(){return"#c71585ff"},peg$c936="MediumVioletRed",peg$c937=peg$literalExpectation("MediumVioletRed",false),peg$c938="midnightblue",peg$c939=peg$literalExpectation("midnightblue",false),peg$c940=function(){return"#191970ff"},peg$c941="MidnightBlue",peg$c942=peg$literalExpectation("MidnightBlue",false),peg$c943="mintcream",peg$c944=peg$literalExpectation("mintcream",false),peg$c945=function(){return"#f5fffaff"},peg$c946="MintCream",peg$c947=peg$literalExpectation("MintCream",false),peg$c948="mistyrose",peg$c949=peg$literalExpectation("mistyrose",false),peg$c950=function(){return"#ffe4e1ff"},peg$c951="MistyRose",peg$c952=peg$literalExpectation("MistyRose",false),peg$c953="moccasin",peg$c954=peg$literalExpectation("moccasin",false),peg$c955=function(){return"#ffe4b5ff"},peg$c956="Moccasin",peg$c957=peg$literalExpectation("Moccasin",false),peg$c958="navajowhite",peg$c959=peg$literalExpectation("navajowhite",false),peg$c960=function(){return"#ffdeadff"},peg$c961="NavajoWhite",peg$c962=peg$literalExpectation("NavajoWhite",false),peg$c963="navy",peg$c964=peg$literalExpectation("navy",false),peg$c965=function(){return"#000080ff"},peg$c966="Navy",peg$c967=peg$literalExpectation("Navy",false),peg$c968="oldlace",peg$c969=peg$literalExpectation("oldlace",false),peg$c970=function(){return"#fdf5e6ff"},peg$c971="OldLace",peg$c972=peg$literalExpectation("OldLace",false),peg$c973="olivedrab",peg$c974=peg$literalExpectation("olivedrab",false),peg$c975=function(){return"#6b8e23ff"},peg$c976="OliveDrab",peg$c977=peg$literalExpectation("OliveDrab",false),peg$c978="olive",peg$c979=peg$literalExpectation("olive",false),peg$c980=function(){return"#808000ff"},peg$c981="Olive",peg$c982=peg$literalExpectation("Olive",false),peg$c983="orangered",peg$c984=peg$literalExpectation("orangered",false),peg$c985=function(){return"#ff4500ff"},peg$c986="OrangeRed",peg$c987=peg$literalExpectation("OrangeRed",false),peg$c988="orange",peg$c989=peg$literalExpectation("orange",false),peg$c990=function(){return"#ffa500ff"},peg$c991="Orange",peg$c992=peg$literalExpectation("Orange",false),peg$c993="orchid",peg$c994=peg$literalExpectation("orchid",false),peg$c995=function(){return"#da70d6ff"},peg$c996="Orchid",peg$c997=peg$literalExpectation("Orchid",false),peg$c998="palegoldenrod",peg$c999=peg$literalExpectation("palegoldenrod",false),peg$c1000=function(){return"#eee8aaff"},peg$c1001="PaleGoldenRod",peg$c1002=peg$literalExpectation("PaleGoldenRod",false),peg$c1003="palegreen",peg$c1004=peg$literalExpectation("palegreen",false),peg$c1005=function(){return"#98fb98ff"},peg$c1006="PaleGreen",peg$c1007=peg$literalExpectation("PaleGreen",false),peg$c1008="paleturquoise",peg$c1009=peg$literalExpectation("paleturquoise",false),peg$c1010=function(){return"#afeeeeff"},peg$c1011="PaleTurquoise",peg$c1012=peg$literalExpectation("PaleTurquoise",false),peg$c1013="palevioletred",peg$c1014=peg$literalExpectation("palevioletred",false),peg$c1015=function(){return"#d87093ff"},peg$c1016="PaleVioletRed",peg$c1017=peg$literalExpectation("PaleVioletRed",false),peg$c1018="papayawhip",peg$c1019=peg$literalExpectation("papayawhip",false),peg$c1020=function(){return"#ffefd5ff"},peg$c1021="PapayaWhip",peg$c1022=peg$literalExpectation("PapayaWhip",false),peg$c1023="peachpuff",peg$c1024=peg$literalExpectation("peachpuff",false),peg$c1025=function(){return"#ffdab9ff"},peg$c1026="PeachPuff",peg$c1027=peg$literalExpectation("PeachPuff",false),peg$c1028="peru",peg$c1029=peg$literalExpectation("peru",false),peg$c1030=function(){return"#cd853fff"},peg$c1031="Peru",peg$c1032=peg$literalExpectation("Peru",false),peg$c1033="pink",peg$c1034=peg$literalExpectation("pink",false),peg$c1035=function(){return"#ffc0cbff"},peg$c1036="Pink",peg$c1037=peg$literalExpectation("Pink",false),peg$c1038="plum",peg$c1039=peg$literalExpectation("plum",false),peg$c1040=function(){return"#dda0ddff"},peg$c1041="Plum",peg$c1042=peg$literalExpectation("Plum",false),peg$c1043="powderblue",peg$c1044=peg$literalExpectation("powderblue",false),peg$c1045=function(){return"#b0e0e6ff"},peg$c1046="PowderBlue",peg$c1047=peg$literalExpectation("PowderBlue",false),peg$c1048="purple",peg$c1049=peg$literalExpectation("purple",false),peg$c1050=function(){return"#800080ff"},peg$c1051="Purple",peg$c1052=peg$literalExpectation("Purple",false),peg$c1053="red",peg$c1054=peg$literalExpectation("red",false),peg$c1055=function(){return"#ff0000ff"},peg$c1056="Red",peg$c1057=peg$literalExpectation("Red",false),peg$c1058="rosybrown",peg$c1059=peg$literalExpectation("rosybrown",false),peg$c1060=function(){return"#bc8f8fff"},peg$c1061="RosyBrown",peg$c1062=peg$literalExpectation("RosyBrown",false),peg$c1063="royalblue",peg$c1064=peg$literalExpectation("royalblue",false),peg$c1065=function(){return"#4169e1ff"},peg$c1066="RoyalBlue",peg$c1067=peg$literalExpectation("RoyalBlue",false),peg$c1068="saddlebrown",peg$c1069=peg$literalExpectation("saddlebrown",false),peg$c1070=function(){return"#8b4513ff"},peg$c1071="SaddleBrown",peg$c1072=peg$literalExpectation("SaddleBrown",false),peg$c1073="salmon",peg$c1074=peg$literalExpectation("salmon",false),peg$c1075=function(){return"#fa8072ff"},peg$c1076="Salmon",peg$c1077=peg$literalExpectation("Salmon",false),peg$c1078="sandybrown",peg$c1079=peg$literalExpectation("sandybrown",false),peg$c1080=function(){return"#f4a460ff"},peg$c1081="SandyBrown",peg$c1082=peg$literalExpectation("SandyBrown",false),peg$c1083="seagreen",peg$c1084=peg$literalExpectation("seagreen",false),peg$c1085=function(){return"#2e8b57ff"},peg$c1086="SeaGreen",peg$c1087=peg$literalExpectation("SeaGreen",false),peg$c1088="seashell",peg$c1089=peg$literalExpectation("seashell",false),peg$c1090=function(){return"#fff5eeff"},peg$c1091="SeaShell",peg$c1092=peg$literalExpectation("SeaShell",false),peg$c1093="sienna",peg$c1094=peg$literalExpectation("sienna",false),peg$c1095=function(){return"#a0522dff"},peg$c1096="Sienna",peg$c1097=peg$literalExpectation("Sienna",false),peg$c1098="silver",peg$c1099=peg$literalExpectation("silver",false),peg$c1100=function(){return"#c0c0c0ff"},peg$c1101="Silver",peg$c1102=peg$literalExpectation("Silver",false),peg$c1103="skyblue",peg$c1104=peg$literalExpectation("skyblue",false),peg$c1105=function(){return"#87ceebff"},peg$c1106="SkyBlue",peg$c1107=peg$literalExpectation("SkyBlue",false),peg$c1108="slateblue",peg$c1109=peg$literalExpectation("slateblue",false),peg$c1110=function(){return"#6a5acdff"},peg$c1111="SlateBlue",peg$c1112=peg$literalExpectation("SlateBlue",false),peg$c1113="slategray",peg$c1114=peg$literalExpectation("slategray",false),peg$c1115=function(){return"#708090ff"},peg$c1116="SlateGray",peg$c1117=peg$literalExpectation("SlateGray",false),peg$c1118="slategrey",peg$c1119=peg$literalExpectation("slategrey",false),peg$c1120="SlateGrey",peg$c1121=peg$literalExpectation("SlateGrey",false),peg$c1122="snow",peg$c1123=peg$literalExpectation("snow",false),peg$c1124=function(){return"#fffafaff"},peg$c1125="Snow",peg$c1126=peg$literalExpectation("Snow",false),peg$c1127="springgreen",peg$c1128=peg$literalExpectation("springgreen",false),peg$c1129=function(){return"#00ff7fff"},peg$c1130="SpringGreen",peg$c1131=peg$literalExpectation("SpringGreen",false),peg$c1132="steelblue",peg$c1133=peg$literalExpectation("steelblue",false),peg$c1134=function(){return"#4682b4ff"},peg$c1135="SteelBlue",peg$c1136=peg$literalExpectation("SteelBlue",false),peg$c1137="tan",peg$c1138=peg$literalExpectation("tan",false),peg$c1139=function(){return"#d2b48cff"},peg$c1140="Tan",peg$c1141=peg$literalExpectation("Tan",false),peg$c1142="teal",peg$c1143=peg$literalExpectation("teal",false),peg$c1144=function(){return"#008080ff"},peg$c1145="Teal",peg$c1146=peg$literalExpectation("Teal",false),peg$c1147="thistle",peg$c1148=peg$literalExpectation("thistle",false),peg$c1149=function(){return"#d8bfd8ff"},peg$c1150="Thistle",peg$c1151=peg$literalExpectation("Thistle",false),peg$c1152="tomato",peg$c1153=peg$literalExpectation("tomato",false),peg$c1154=function(){return"#ff6347ff"},peg$c1155="Tomato",peg$c1156=peg$literalExpectation("Tomato",false),peg$c1157="turquoise",peg$c1158=peg$literalExpectation("turquoise",false),peg$c1159=function(){return"#40e0d0ff"},peg$c1160="Turquoise",peg$c1161=peg$literalExpectation("Turquoise",false),peg$c1162="violet",peg$c1163=peg$literalExpectation("violet",false),peg$c1164=function(){return"#ee82eeff"},peg$c1165="Violet",peg$c1166=peg$literalExpectation("Violet",false),peg$c1167="wheat",peg$c1168=peg$literalExpectation("wheat",false),peg$c1169=function(){return"#f5deb3ff"},peg$c1170="Wheat",peg$c1171=peg$literalExpectation("Wheat",false),peg$c1172="whitesmoke",peg$c1173=peg$literalExpectation("whitesmoke",false),peg$c1174=function(){return"#f5f5f5ff"},peg$c1175="WhiteSmoke",peg$c1176=peg$literalExpectation("WhiteSmoke",false),peg$c1177="white",peg$c1178=peg$literalExpectation("white",false),peg$c1179=function(){return"#ffffffff"},peg$c1180="White",peg$c1181=peg$literalExpectation("White",false),peg$c1182="yellowgreen",peg$c1183=peg$literalExpectation("yellowgreen",false),peg$c1184=function(){return"#9acd32ff"},peg$c1185="YellowGreen",peg$c1186=peg$literalExpectation("YellowGreen",false),peg$c1187="yellow",peg$c1188=peg$literalExpectation("yellow",false),peg$c1189=function(){return"#ffff00ff"},peg$c1190="Yellow",peg$c1191=peg$literalExpectation("Yellow",false),peg$c1192=function(lab){return lab},peg$c1193="#",peg$c1194=peg$literalExpectation("#",false),peg$c1195=function(r,g,b){return`#${r}${r}${g}${g}${b}${b}ff`},peg$c1196=function(r1,r2,g1,g2,b1,b2){return`#${r1}${r2}${g1}${g2}${b1}${b2}ff`},peg$c1197=function(r,g,b,a){return`#${r}${r}${g}${g}${b}${b}${a}${a}`},peg$c1198=function(r1,r2,g1,g2,b1,b2,a1,a2){return`#${r1}${r2}${g1}${g2}${b1}${b2}${a1}${a2}`},peg$c1199=peg$otherExpectation("color"),peg$c1200="arc_label",peg$c1201=peg$literalExpectation("arc_label",false),peg$c1202="head_label",peg$c1203=peg$literalExpectation("head_label",false),peg$c1204="tail_label",peg$c1205=peg$literalExpectation("tail_label",false),peg$c1206=":",peg$c1207=peg$literalExpectation(":",false),peg$c1208=";",peg$c1209=peg$literalExpectation(";",false),peg$c1210=function(key,value){return{key:key,value:value}},peg$c1211=peg$otherExpectation("single edge color"),peg$c1212="edge_color",peg$c1213=peg$literalExpectation("edge_color",false),peg$c1214=function(value){return{key:"single_edge_color",value:value}},peg$c1215=peg$otherExpectation("transition line style"),peg$c1216="line-style",peg$c1217=peg$literalExpectation("line-style",false),peg$c1218=function(value){return{key:"transition_line_style",value:value}},peg$c1219="{",peg$c1220=peg$literalExpectation("{",false),peg$c1221="}",peg$c1222=peg$literalExpectation("}",false),peg$c1223=function(items){return items},peg$c1224="%",peg$c1225=peg$literalExpectation("%",false),peg$c1226=function(value){return{key:"arrow probability",value:value}},peg$c1227=function(names){return names.map((i=>i[0]))},peg$c1228="+|",peg$c1229=peg$literalExpectation("+|",false),peg$c1230=function(nzd,dd){return{key:"stripe",value:parseInt(`${nzd}${dd}`,10)}},peg$c1231="-|",peg$c1232=peg$literalExpectation("-|",false),peg$c1233=function(nzd,dd){return{key:"stripe",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1234="+",peg$c1235=peg$literalExpectation("+",false),peg$c1236=function(nzd,dd){return{key:"cycle",value:parseInt(`${nzd}${dd}`,10)}},peg$c1237="-",peg$c1238=peg$literalExpectation("-",false),peg$c1239=function(nzd,dd){return{key:"cycle",value:-1*parseInt(`${nzd}${dd}`,10)}},peg$c1240="+0",peg$c1241=peg$literalExpectation("+0",false),peg$c1242=function(){return{key:"cycle",value:0}},peg$c1243=function(r_action,r_prob,l_desc,arrow,r_desc,l_prob,l_action,label,tail){const base={kind:arrow,to:label};if(tail&&tail!==[]){base.se=tail}if(l_desc){base.l_desc=l_desc}if(r_desc){base.r_desc=r_desc}if(l_action){base.l_action=l_action}if(r_action){base.r_action=r_action}if(l_prob){base.l_probability=l_prob.value}if(r_prob){base.r_probability=r_prob.value}return base},peg$c1244=function(label,se){const base={key:"transition",from:label};if(se&&se!==[]){base.se=se}return base},peg$c1245="whargarbl",peg$c1246=peg$literalExpectation("whargarbl",false),peg$c1247="todo",peg$c1248=peg$literalExpectation("todo",false),peg$c1249=function(validationkey,value){return{key:validationkey,value:value}},peg$c1250="validation",peg$c1251=peg$literalExpectation("validation",false),peg$c1252="};",peg$c1253=peg$literalExpectation("};",false),peg$c1254=function(validation_items){return{config_kind:"validation",config_items:validation_items||[]}},peg$c1255="dot",peg$c1256=peg$literalExpectation("dot",false),peg$c1257="circo",peg$c1258=peg$literalExpectation("circo",false),peg$c1259="fdp",peg$c1260=peg$literalExpectation("fdp",false),peg$c1261="neato",peg$c1262=peg$literalExpectation("neato",false),peg$c1263="state",peg$c1264=peg$literalExpectation("state",false),peg$c1265=function(state_items){return{key:"default_state_config",value:state_items||[]}},peg$c1266="start_state",peg$c1267=peg$literalExpectation("start_state",false),peg$c1268=function(state_items){return{key:"default_start_state_config",value:state_items||[]}},peg$c1269="end_state",peg$c1270=peg$literalExpectation("end_state",false),peg$c1271=function(state_items){return{key:"default_end_state_config",value:state_items||[]}},peg$c1272="active_state",peg$c1273=peg$literalExpectation("active_state",false),peg$c1274=function(state_items){return{key:"default_active_state_config",value:state_items||[]}},peg$c1275="terminal_state",peg$c1276=peg$literalExpectation("terminal_state",false),peg$c1277=function(state_items){return{key:"default_terminal_state_config",value:state_items||[]}},peg$c1278="hooked_state",peg$c1279=peg$literalExpectation("hooked_state",false),peg$c1280=function(state_items){return{key:"default_hooked_state_config",value:state_items||[]}},peg$c1281=function(actionkey,value){return{key:actionkey,value:value}},peg$c1282="action",peg$c1283=peg$literalExpectation("action",false),peg$c1284=function(action_items){return{config_kind:"action",config_items:action_items||[]}},peg$c1285=function(key,value){return{key:key,value:value}},peg$c1286=peg$otherExpectation("graph default edge color"),peg$c1287=function(value){return{key:"graph_default_edge_color",value:value}},peg$c1288="transition",peg$c1289=peg$literalExpectation("transition",false),peg$c1290=function(transition_items){return{config_kind:"transition",config_items:transition_items||[]}},peg$c1291="graph_layout",peg$c1292=peg$literalExpectation("graph_layout",false),peg$c1293=function(value){return{key:"graph_layout",value:value}},peg$c1294="start_states",peg$c1295=peg$literalExpectation("start_states",false),peg$c1296=function(value){return{key:"start_states",value:value}},peg$c1297="end_states",peg$c1298=peg$literalExpectation("end_states",false),peg$c1299=function(value){return{key:"end_states",value:value}},peg$c1300="graph_bg_color",peg$c1301=peg$literalExpectation("graph_bg_color",false),peg$c1302=function(value){return{key:"graph_bg_color",value:value}},peg$c1303="allows_override",peg$c1304=peg$literalExpectation("allows_override",false),peg$c1305=function(value){return{key:"allows_override",value:value}},peg$c1306=function(){return true},peg$c1307=function(){return false},peg$c1308=peg$otherExpectation("configuration"),peg$c1309="MIT",peg$c1310=peg$literalExpectation("MIT",false),peg$c1311="BSD 2-clause",peg$c1312=peg$literalExpectation("BSD 2-clause",false),peg$c1313="BSD 3-clause",peg$c1314=peg$literalExpectation("BSD 3-clause",false),peg$c1315="Apache 2.0",peg$c1316=peg$literalExpectation("Apache 2.0",false),peg$c1317="Mozilla 2.0",peg$c1318=peg$literalExpectation("Mozilla 2.0",false),peg$c1319="Public domain",peg$c1320=peg$literalExpectation("Public domain",false),peg$c1321="GPL v2",peg$c1322=peg$literalExpectation("GPL v2",false),peg$c1323="GPL v3",peg$c1324=peg$literalExpectation("GPL v3",false),peg$c1325="LGPL v2.1",peg$c1326=peg$literalExpectation("LGPL v2.1",false),peg$c1327="LGPL v3.0",peg$c1328=peg$literalExpectation("LGPL v3.0",false),peg$c1329="Unknown",peg$c1330=peg$literalExpectation("Unknown",false),peg$c1331=peg$otherExpectation("direction"),peg$c1332="up",peg$c1333=peg$literalExpectation("up",false),peg$c1334="right",peg$c1335=peg$literalExpectation("right",false),peg$c1336="down",peg$c1337=peg$literalExpectation("down",false),peg$c1338="left",peg$c1339=peg$literalExpectation("left",false),peg$c1340=peg$otherExpectation("hook definition (open/closed)"),peg$c1341="open",peg$c1342=peg$literalExpectation("open",false),peg$c1343="closed",peg$c1344=peg$literalExpectation("closed",false),peg$c1345="machine_author",peg$c1346=peg$literalExpectation("machine_author",false),peg$c1347=function(value){return{key:"machine_author",value:value}},peg$c1348="machine_contributor",peg$c1349=peg$literalExpectation("machine_contributor",false),peg$c1350=function(value){return{key:"machine_contributor",value:value}},peg$c1351="machine_comment",peg$c1352=peg$literalExpectation("machine_comment",false),peg$c1353=function(value){return{key:"machine_comment",value:value}},peg$c1354="machine_definition",peg$c1355=peg$literalExpectation("machine_definition",false),peg$c1356=function(value){return{key:"machine_definition",value:value}},peg$c1357="machine_name",peg$c1358=peg$literalExpectation("machine_name",false),peg$c1359=function(value){return{key:"machine_name",value:value}},peg$c1363="machine_version",peg$c1364=peg$literalExpectation("machine_version",false),peg$c1365=function(value){return{key:"machine_version",value:value}},peg$c1366="machine_license",peg$c1367=peg$literalExpectation("machine_license",false),peg$c1368=function(value){return{key:"machine_license",value:value}},peg$c1369="machine_language",peg$c1370=peg$literalExpectation("machine_language",false),peg$c1371=function(value){return{key:"machine_language",value:value}},peg$c1372="fsl_version",peg$c1373=peg$literalExpectation("fsl_version",false),peg$c1374=function(value){return{key:"fsl_version",value:value}},peg$c1375="theme",peg$c1376=peg$literalExpectation("theme",false),peg$c1377=function(value){return{key:"theme",value:value}},peg$c1378="flow",peg$c1379=peg$literalExpectation("flow",false),peg$c1380=function(value){return{key:"flow",value:value}},peg$c1381="hooks",peg$c1382=peg$literalExpectation("hooks",false),peg$c1383=function(value){return{key:"hook_definition",value:value}},peg$c1384="dot_preamble",peg$c1385=peg$literalExpectation("dot_preamble",false),peg$c1386=function(value){return{key:"dot_preamble",value:value}},peg$c1387=peg$otherExpectation("machine attribute"),peg$c1388="label",peg$c1389=peg$literalExpectation("label",false),peg$c1390=function(value){return{key:"state-label",value:value}},peg$c1391="color",peg$c1392=peg$literalExpectation("color",false),peg$c1393=function(value){return{key:"color",value:value}},peg$c1394=peg$otherExpectation("text color"),peg$c1395="text-color",peg$c1396=peg$literalExpectation("text-color",false),peg$c1397=function(value){return{key:"text-color",value:value}},peg$c1398=peg$otherExpectation("background color"),peg$c1399="background-color",peg$c1400=peg$literalExpectation("background-color",false),peg$c1401=function(value){return{key:"background-color",value:value}},peg$c1402=peg$otherExpectation("border color"),peg$c1403="border-color",peg$c1404=peg$literalExpectation("border-color",false),peg$c1405=function(value){return{key:"border-color",value:value}},peg$c1406=peg$otherExpectation("shape"),peg$c1407="shape",peg$c1408=peg$literalExpectation("shape",false),peg$c1409=function(value){return{key:"shape",value:value}},peg$c1410=peg$otherExpectation("corners"),peg$c1411="corners",peg$c1412=peg$literalExpectation("corners",false),peg$c1413=function(value){return{key:"corners",value:value}},peg$c1414=peg$otherExpectation("linestyle"),peg$c1415=function(value){return{key:"line-style",value:value}},peg$c1416="linestyle",peg$c1417=peg$literalExpectation("linestyle",false),peg$c1418=peg$otherExpectation("state property"),peg$c1419="property",peg$c1420=peg$literalExpectation("property",false),peg$c1421=function(name,value){return{key:"state_property",name:name,value:value}},peg$c1422="required",peg$c1423=peg$literalExpectation("required",false),peg$c1424=function(name,value){return{key:"state_property",name:name,value:value,required:true}},peg$c1425=function(name,value){return{key:"state_declaration",name:name,value:value}},peg$c1426="&",peg$c1427=peg$literalExpectation("&",false),peg$c1428=function(name,value){return{key:"named_list",name:name,value:value}},peg$c1429=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value,required:true}},peg$c1430=function(name){return{key:"property_definition",name:name,required:true}},peg$c1431=function(name,default_value){return{key:"property_definition",name:name,default_value:default_value}},peg$c1432=function(name){return{key:"property_definition",name:name}},peg$c1433="arrange",peg$c1434=peg$literalExpectation("arrange",false),peg$c1435=function(value){return{key:"arrange_declaration",value:value}},peg$c1436="arrange-start",peg$c1437=peg$literalExpectation("arrange-start",false),peg$c1438=function(value){return{key:"arrange_start_declaration",value:value}},peg$c1439="arrange-end",peg$c1440=peg$literalExpectation("arrange-end",false),peg$c1441=function(value){return{key:"arrange_end_declaration",value:value}},peg$c1442=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;if("startRule"in options){if(!(options.startRule in peg$startRuleFunctions)){throw new Error("Can't start parsing from rule \""+options.startRule+'".')}peg$startRuleFunction=peg$startRuleFunctions[options.startRule]}function text(){return input.substring(peg$savedPos,peg$currPos)}function peg$literalExpectation(text,ignoreCase){return{type:"literal",text:text,ignoreCase:ignoreCase}}function peg$classExpectation(parts,inverted,ignoreCase){return{type:"class",parts:parts,inverted:inverted,ignoreCase:ignoreCase}}function peg$anyExpectation(){return{type:"any"}}function peg$endExpectation(){return{type:"end"}}function peg$otherExpectation(description){return{type:"other",description:description}}function peg$computePosDetails(pos){var details=peg$posDetailsCache[pos],p;if(details){return details}else{p=pos-1;while(!peg$posDetailsCache[p]){p--}details=peg$posDetailsCache[p];details={line:details.line,column:details.column};while(ppeg$maxFailPos){peg$maxFailPos=peg$currPos;peg$maxFailExpected=[]}peg$maxFailExpected.push(expected)}function peg$buildStructuredError(expected,found,location){return new peg$SyntaxError(peg$SyntaxError.buildMessage(expected,found),expected,found,location)}function peg$parseDocument(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseTermList();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c0(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTheme(){var s0;if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s0=peg$c3;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c5){s0=peg$c5;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c6)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c7){s0=peg$c7;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c8)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c9){s0=peg$c9;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c10)}}}}}}return s0}function peg$parseThemeOrThemeList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseTheme();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){s4=peg$parseTheme();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s5=peg$c13;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c15(s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseTheme();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c16(s1)}s0=s1}return s0}function peg$parseGvizShape(){var s0;if(input.substr(peg$currPos,5)===peg$c17){s0=peg$c17;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c18)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c19){s0=peg$c19;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c20)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c21){s0=peg$c21;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c22)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c23){s0=peg$c23;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c24)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c25){s0=peg$c25;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c26)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c27){s0=peg$c27;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c28)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c29){s0=peg$c29;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c30)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c31){s0=peg$c31;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c32)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c33){s0=peg$c33;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c34)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c35){s0=peg$c35;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c36)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c37){s0=peg$c37;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c38)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c39){s0=peg$c39;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c40)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c41){s0=peg$c41;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c42)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c43){s0=peg$c43;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c44)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c45){s0=peg$c45;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c46)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c47){s0=peg$c47;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c48)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c49){s0=peg$c49;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c50)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c51){s0=peg$c51;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c52)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c53){s0=peg$c53;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c54)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c55){s0=peg$c55;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c56)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c57){s0=peg$c57;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c58)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c59){s0=peg$c59;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c60)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c61){s0=peg$c61;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c62)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c63){s0=peg$c63;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c64)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c65){s0=peg$c65;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c66)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c67){s0=peg$c67;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c68)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c69){s0=peg$c69;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c70)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c71){s0=peg$c71;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c72)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c73){s0=peg$c73;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c74)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c75){s0=peg$c75;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c76)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c77){s0=peg$c77;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c78)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1){s0=peg$c1;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c2)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c79){s0=peg$c79;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c80)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c81){s0=peg$c81;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c82)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c83){s0=peg$c83;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c84)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c85){s0=peg$c85;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c86)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c87){s0=peg$c87;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c88)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c89){s0=peg$c89;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c90)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c91){s0=peg$c91;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c92)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c93){s0=peg$c93;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c94)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c95){s0=peg$c95;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c96)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c97){s0=peg$c97;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c98)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c99){s0=peg$c99;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c100)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c101){s0=peg$c101;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c102)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,15)===peg$c103){s0=peg$c103;peg$currPos+=15}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c104)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c105){s0=peg$c105;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c106)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,14)===peg$c107){s0=peg$c107;peg$currPos+=14}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c108)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c109){s0=peg$c109;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c110)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c111){s0=peg$c111;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c112)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c113){s0=peg$c113;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c114)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c115){s0=peg$c115;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c116)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c117){s0=peg$c117;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c118)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c119){s0=peg$c119;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c120)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c121){s0=peg$c121;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c122)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c123){s0=peg$c123;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c124)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c125){s0=peg$c125;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c126)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c127){s0=peg$c127;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c128)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c129){s0=peg$c129;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c130)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c131){s0=peg$c131;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c132)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c133){s0=peg$c133;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c134)}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseForwardLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c136){s0=peg$c136;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c137)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8594){s1=peg$c138;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c139)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c140()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c135)}}return s0}function peg$parseTwoWayLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c142){s0=peg$c142;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c143)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8596){s1=peg$c144;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c145)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c146()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c141)}}return s0}function peg$parseBackLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c148){s0=peg$c148;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c149)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8592){s1=peg$c150;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c152()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c147)}}return s0}function peg$parseForwardFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c154){s0=peg$c154;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c155)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8658){s1=peg$c156;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c157)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c158()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c153)}}return s0}function peg$parseTwoWayFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c160){s0=peg$c160;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c161)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8660){s1=peg$c162;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c164()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c159)}}return s0}function peg$parseBackFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c166){s0=peg$c166;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c167)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8656){s1=peg$c168;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c169)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c170()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c165)}}return s0}function peg$parseForwardTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c172){s0=peg$c172;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c173)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8603){s1=peg$c174;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c175)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c176()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c171)}}return s0}function peg$parseTwoWayTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,3)===peg$c178){s0=peg$c178;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c179)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8622){s1=peg$c180;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c182()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c177)}}return s0}function peg$parseBackTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c184){s0=peg$c184;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c185)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8602){s1=peg$c186;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c187)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c188()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c183)}}return s0}function peg$parseLightFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c190){s0=peg$c190;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c191)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c192){s1=peg$c192;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c193)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c194()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c189)}}return s0}function peg$parseLightTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c196){s0=peg$c196;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c197)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c198){s1=peg$c198;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c199)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c200()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c195)}}return s0}function peg$parseFatLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c202){s0=peg$c202;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c203)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c204){s1=peg$c204;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c205)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c206()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c201)}}return s0}function peg$parseFatTildeArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c208){s0=peg$c208;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c209)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c210){s1=peg$c210;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c211)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c212()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c207)}}return s0}function peg$parseTildeLightArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c214){s0=peg$c214;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c215)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c216){s1=peg$c216;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c217)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c218()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c213)}}return s0}function peg$parseTildeFatArrow(){var s0,s1;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c220){s0=peg$c220;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c221)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c222){s1=peg$c222;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c223)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c224()}s0=s1}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c219)}}return s0}function peg$parseLightArrow(){var s0;peg$silentFails++;s0=peg$parseForwardLightArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayLightArrow();if(s0===peg$FAILED){s0=peg$parseBackLightArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c225)}}return s0}function peg$parseFatArrow(){var s0;peg$silentFails++;s0=peg$parseForwardFatArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayFatArrow();if(s0===peg$FAILED){s0=peg$parseBackFatArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c226)}}return s0}function peg$parseTildeArrow(){var s0;peg$silentFails++;s0=peg$parseForwardTildeArrow();if(s0===peg$FAILED){s0=peg$parseTwoWayTildeArrow();if(s0===peg$FAILED){s0=peg$parseBackTildeArrow()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c227)}}return s0}function peg$parseMixedArrow(){var s0;peg$silentFails++;s0=peg$parseLightFatArrow();if(s0===peg$FAILED){s0=peg$parseLightTildeArrow();if(s0===peg$FAILED){s0=peg$parseFatLightArrow();if(s0===peg$FAILED){s0=peg$parseFatTildeArrow();if(s0===peg$FAILED){s0=peg$parseTildeLightArrow();if(s0===peg$FAILED){s0=peg$parseTildeFatArrow()}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c228)}}return s0}function peg$parseArrow(){var s0;peg$silentFails++;s0=peg$parseMixedArrow();if(s0===peg$FAILED){s0=peg$parseLightArrow();if(s0===peg$FAILED){s0=peg$parseFatArrow();if(s0===peg$FAILED){s0=peg$parseTildeArrow()}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c229)}}return s0}function peg$parseBoolean(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c232()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c235()}s0=s1}return s0}function peg$parseCorners(){var s0;if(input.substr(peg$currPos,7)===peg$c236){s0=peg$c236;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c237)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c238){s0=peg$c238;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c239)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c240){s0=peg$c240;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c241)}}}}return s0}function peg$parseLineStyle(){var s0;if(input.substr(peg$currPos,5)===peg$c242){s0=peg$c242;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c243)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c244){s0=peg$c244;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c245)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c246){s0=peg$c246;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c247)}}}}return s0}function peg$parseChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===34){s2=peg$c248;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseNull(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c276){s1=peg$c276;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c277)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c278()}s0=s1;return s0}function peg$parseUndefined(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1;return s0}function peg$parseEscape(){var s0;if(input.charCodeAt(peg$currPos)===92){s0=peg$c250;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}return s0}function peg$parseQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===34){s0=peg$c248;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c249)}}return s0}function peg$parseUnescaped(){var s0;if(peg$c282.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c283)}}return s0}function peg$parseActionLabelChar(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$parseActionLabelUnescaped();if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseEscape();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===39){s2=peg$c284;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===92){s2=peg$c250;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c251)}}if(s2===peg$FAILED){if(input.charCodeAt(peg$currPos)===47){s2=peg$c252;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c253)}}if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===98){s3=peg$c254;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c255)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c256()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===102){s3=peg$c257;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c258)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c259()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===110){s3=peg$c260;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c261)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c262()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===114){s3=peg$c263;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c264)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c265()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===116){s3=peg$c266;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c267)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c268()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===118){s3=peg$c269;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c270)}}if(s3!==peg$FAILED){peg$savedPos=s2;s3=peg$c271()}s2=s3;if(s2===peg$FAILED){s2=peg$currPos;if(input.charCodeAt(peg$currPos)===117){s3=peg$c272;peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c273)}}if(s3!==peg$FAILED){s4=peg$currPos;s5=peg$currPos;s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s6=[s6,s7,s8,s9];s5=s6}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}}else{peg$currPos=s5;s5=peg$FAILED}if(s5!==peg$FAILED){s4=input.substring(s4,peg$currPos)}else{s4=s5}if(s4!==peg$FAILED){peg$savedPos=s2;s3=peg$c274(s4);s2=s3}else{peg$currPos=s2;s2=peg$FAILED}}else{peg$currPos=s2;s2=peg$FAILED}}}}}}}}}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c275(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseActionLabelQuoteMark(){var s0;if(input.charCodeAt(peg$currPos)===39){s0=peg$c284;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c285)}}return s0}function peg$parseActionLabelUnescaped(){var s0;if(peg$c286.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c287)}}return s0}function peg$parseActionLabel(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseActionLabelQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseActionLabelChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseActionLabelChar()}if(s2!==peg$FAILED){s3=peg$parseActionLabelQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c288)}}return s0}function peg$parseLineTerminator(){var s0;if(peg$c290.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c291)}}return s0}function peg$parseBlockCommentTail(){var s0,s1,s2;if(input.substr(peg$currPos,2)===peg$c294){s0=peg$c294;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c295)}}if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseBlockComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c298){s1=peg$c298;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c299)}}if(s1!==peg$FAILED){s2=peg$parseBlockCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c297)}}return s0}function peg$parseEOF(){var s0,s1;s0=peg$currPos;peg$silentFails++;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}peg$silentFails--;if(s1===peg$FAILED){s0=void 0}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLineCommentTail(){var s0,s1,s2;s0=peg$parseLineTerminator();if(s0===peg$FAILED){s0=peg$parseEOF();if(s0===peg$FAILED){s0=peg$currPos;if(input.length>peg$currPos){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c296)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseLineComment(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c301){s1=peg$c301;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c302)}}if(s1!==peg$FAILED){s2=peg$parseLineCommentTail();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c300)}}return s0}function peg$parseWS(){var s0,s1,s2;peg$silentFails++;s0=peg$currPos;s1=peg$parseBlockComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseLineComment();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=[];if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}if(s2!==peg$FAILED){while(s2!==peg$FAILED){s1.push(s2);if(peg$c304.test(input.charAt(peg$currPos))){s2=input.charAt(peg$currPos);peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c305)}}}}else{s1=peg$FAILED}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c303)}}return s0}function peg$parseString(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseQuoteMark();if(s1!==peg$FAILED){s2=[];s3=peg$parseChar();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseChar()}if(s2!==peg$FAILED){s3=peg$parseQuoteMark();if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c289(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c306)}}return s0}function peg$parseAtomFirstLetter(){var s0;if(peg$c307.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c308)}}return s0}function peg$parseAtomLetter(){var s0;if(peg$c309.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c310)}}return s0}function peg$parseAtom(){var s0,s1,s2,s3;peg$silentFails++;s0=peg$currPos;s1=peg$parseAtomFirstLetter();if(s1!==peg$FAILED){s2=[];s3=peg$parseAtomLetter();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseAtomLetter()}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c312(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c311)}}return s0}function peg$parseLabel(){var s0;peg$silentFails++;s0=peg$parseAtom();if(s0===peg$FAILED){s0=peg$parseString()}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c313)}}return s0}function peg$parseIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseDecimalDigit(){var s0;if(peg$c316.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c317)}}return s0}function peg$parseNonZeroDigit(){var s0;if(peg$c318.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c319)}}return s0}function peg$parseHexDigit(){var s0;if(peg$c320.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c321)}}return s0}function peg$parseBinaryDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseOctalDigit(){var s0;if(peg$c322.test(input.charAt(peg$currPos))){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c323)}}return s0}function peg$parseNonNegNumber(){var s0,s1,s2,s3,s4;peg$silentFails++;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c324)}}return s0}function peg$parseJsNumericLiteral(){var s0,s1;peg$silentFails++;s0=peg$currPos;s1=peg$parseJsHexIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsBinaryIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonJsOctalIntegerLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalLiteral();if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c329(s1)}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c330){s1=peg$c330;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c331)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c332()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c333){s1=peg$c333;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c334)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c336){s1=peg$c336;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c337)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c338){s1=peg$c338;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c339)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c340){s1=peg$c340;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c341)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c342){s1=peg$c342;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c343)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c344){s1=peg$c344;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c345)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c346){s1=peg$c346;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c347)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c335()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c348){s1=peg$c348;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c349)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c351){s1=peg$c351;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c352)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c353){s1=peg$c353;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c354)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c355){s1=peg$c355;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c356)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8734){s1=peg$c357;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c358)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c350()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c359){s1=peg$c359;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c360)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c362){s1=peg$c362;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c363)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===949){s1=peg$c364;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c365)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c361()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c366){s1=peg$c366;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c367)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c369){s1=peg$c369;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c370)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===960){s1=peg$c371;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c372)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c368()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c373){s1=peg$c373;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c374)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===69){s1=peg$c376;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c377)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===101){s1=peg$c378;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c379)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===400){s1=peg$c380;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c381)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===8455){s1=peg$c382;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c383)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c375()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c384){s1=peg$c384;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c385)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c386()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c387){s1=peg$c387;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c388)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c389()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c390){s1=peg$c390;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c391)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c393){s1=peg$c393;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c394)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c392()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c395){s1=peg$c395;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c396)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c398){s1=peg$c398;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c399)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c397()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c400){s1=peg$c400;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c401)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c402()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c403){s1=peg$c403;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c404)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c405()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c406){s1=peg$c406;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c407)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c408()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c409){s1=peg$c409;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c410)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c411()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c412){s1=peg$c412;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c413)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c414()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c415){s1=peg$c415;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c416)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c417()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c418){s1=peg$c418;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c419)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c421){s1=peg$c421;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c422)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c423){s1=peg$c423;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c424)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===981){s1=peg$c425;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c426)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===966){s1=peg$c427;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c428)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c420()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c429){s1=peg$c429;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c430)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c434){s1=peg$c434;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c435)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===947){s1=peg$c432;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c433)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c431()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c328)}}return s0}function peg$parseJsDecimalLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){s4=peg$parseJsNExponentPart();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===46){s1=peg$c325;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s3=peg$parseJsNExponentPart();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseJsDecimalIntegerLiteral();if(s1!==peg$FAILED){s2=peg$parseJsNExponentPart();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c327();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}return s0}function peg$parseJsDecimalIntegerLiteral(){var s0,s1,s2,s3;if(input.charCodeAt(peg$currPos)===48){s0=peg$c314;peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c315)}}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseNonZeroDigit();if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseJsNExponentPart(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseJsNExponentIndicator();if(s1!==peg$FAILED){s2=peg$parseJsNSignedInteger();if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsNExponentIndicator(){var s0;if(input.substr(peg$currPos,1).toLowerCase()===peg$c378){s0=input.charAt(peg$currPos);peg$currPos++}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c436)}}return s0}function peg$parseJsNSignedInteger(){var s0,s1,s2,s3;s0=peg$currPos;if(peg$c437.test(input.charAt(peg$currPos))){s1=input.charAt(peg$currPos);peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c438)}}if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=[];s3=peg$parseDecimalDigit();if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);s3=peg$parseDecimalDigit()}}else{s2=peg$FAILED}if(s2!==peg$FAILED){s1=[s1,s2];s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsHexIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c439){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c440)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseHexDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseHexDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c441(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseJsBinaryIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c442){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c443)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseBinaryDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseBinaryDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c444(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNonJsOctalIntegerLiteral(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2).toLowerCase()===peg$c445){s1=input.substr(peg$currPos,2);peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c446)}}if(s1!==peg$FAILED){s2=peg$currPos;s3=[];s4=peg$parseOctalDigit();if(s4!==peg$FAILED){while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseOctalDigit()}}else{s3=peg$FAILED}if(s3!==peg$FAILED){s2=input.substring(s2,peg$currPos)}else{s2=s3}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c447(s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSemVer(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseIntegerLiteral();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s2=peg$c325;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s2!==peg$FAILED){s3=peg$parseIntegerLiteral();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===46){s4=peg$c325;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c326)}}if(s4!==peg$FAILED){s5=peg$parseIntegerLiteral();if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c448(s1,s3,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseUrlProtocol(){var s0;if(input.substr(peg$currPos,7)===peg$c459){s0=peg$c459;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c460)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,8)===peg$c461){s0=peg$c461;peg$currPos+=8}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c462)}}}return s0}function peg$parseURL(){var s0,s1,s2,s3;s0=peg$currPos;s1=peg$parseUrlProtocol();if(s1!==peg$FAILED){s2=[];if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}if(s3!==peg$FAILED){while(s3!==peg$FAILED){s2.push(s3);if(peg$c463.test(input.charAt(peg$currPos))){s3=input.charAt(peg$currPos);peg$currPos++}else{s3=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c464)}}}}else{s2=peg$FAILED}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c465();s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSvgColorLabel(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c466){s1=peg$c466;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c467)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c469){s1=peg$c469;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c470)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c468()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c471){s1=peg$c471;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c472)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c474){s1=peg$c474;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c475)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c473()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c476){s1=peg$c476;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c477)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c479){s1=peg$c479;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c480)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c478()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c481){s1=peg$c481;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c482)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c484){s1=peg$c484;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c485)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c486){s1=peg$c486;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c487)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c489){s1=peg$c489;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c490)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c488()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c491){s1=peg$c491;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c492)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c494){s1=peg$c494;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c495)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c493()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c496){s1=peg$c496;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c497)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c499){s1=peg$c499;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c500)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c498()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c501){s1=peg$c501;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c502)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c504){s1=peg$c504;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c505)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c503()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c506){s1=peg$c506;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c507)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c509){s1=peg$c509;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c510)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c508()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c511){s1=peg$c511;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c512)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c514){s1=peg$c514;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c515)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c513()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c516){s1=peg$c516;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c517)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c519){s1=peg$c519;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c520)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c518()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c521){s1=peg$c521;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c522)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c524){s1=peg$c524;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c525)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c523()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c526){s1=peg$c526;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c527)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c529){s1=peg$c529;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c530)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c528()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c531){s1=peg$c531;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c532)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c534){s1=peg$c534;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c535)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c533()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c536){s1=peg$c536;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c537)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c539){s1=peg$c539;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c540)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c538()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c541){s1=peg$c541;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c542)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c544){s1=peg$c544;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c545)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c543()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c546){s1=peg$c546;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c547)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c549){s1=peg$c549;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c550)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c548()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c551){s1=peg$c551;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c552)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c554){s1=peg$c554;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c555)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c553()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c556){s1=peg$c556;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c557)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c559){s1=peg$c559;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c560)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c558()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c561){s1=peg$c561;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c562)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c564){s1=peg$c564;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c565)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c563()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c566){s1=peg$c566;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c567)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c568){s1=peg$c568;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c569)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c483()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c570){s1=peg$c570;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c571)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c573){s1=peg$c573;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c574)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c572()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c575){s1=peg$c575;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c576)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c578){s1=peg$c578;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c579)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c577()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c580){s1=peg$c580;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c581)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c583){s1=peg$c583;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c584)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c582()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c585){s1=peg$c585;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c586)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c588){s1=peg$c588;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c589)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c590){s1=peg$c590;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c591)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c592){s1=peg$c592;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c593)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c587()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c594){s1=peg$c594;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c595)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c597){s1=peg$c597;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c598)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c596()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c599){s1=peg$c599;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c600)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c602){s1=peg$c602;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c603)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c601()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c604){s1=peg$c604;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c605)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c607){s1=peg$c607;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c608)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c606()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c609){s1=peg$c609;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c610)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c612){s1=peg$c612;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c613)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c611()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c614){s1=peg$c614;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c615)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c617){s1=peg$c617;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c618)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c616()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c619){s1=peg$c619;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c620)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c622){s1=peg$c622;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c623)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c621()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c624){s1=peg$c624;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c625)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c627){s1=peg$c627;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c628)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c626()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c629){s1=peg$c629;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c630)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c632){s1=peg$c632;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c633)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c631()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c634){s1=peg$c634;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c635)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c637){s1=peg$c637;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c638)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c636()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c639){s1=peg$c639;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c640)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c642){s1=peg$c642;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c643)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c641()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c644){s1=peg$c644;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c645)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c647){s1=peg$c647;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c648)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c649){s1=peg$c649;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c650)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c651){s1=peg$c651;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c652)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c646()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c653){s1=peg$c653;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c654)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c656){s1=peg$c656;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c657)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c655()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c658){s1=peg$c658;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c659)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c661){s1=peg$c661;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c662)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c660()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c663){s1=peg$c663;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c664)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c666){s1=peg$c666;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c667)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c665()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c668){s1=peg$c668;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c669)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c671){s1=peg$c671;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c672)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c670()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c673){s1=peg$c673;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c674)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c676){s1=peg$c676;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c677)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c678){s1=peg$c678;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c679)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c680){s1=peg$c680;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c681)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c675()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c682){s1=peg$c682;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c683)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c685){s1=peg$c685;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c686)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c684()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c687){s1=peg$c687;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c688)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c690){s1=peg$c690;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c691)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c689()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c692){s1=peg$c692;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c693)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c695){s1=peg$c695;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c696)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c694()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c697){s1=peg$c697;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c698)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c700){s1=peg$c700;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c701)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c699()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c702){s1=peg$c702;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c703)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c705){s1=peg$c705;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c706)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c707){s1=peg$c707;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c708)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c710){s1=peg$c710;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c711)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c709()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c712){s1=peg$c712;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c713)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c715){s1=peg$c715;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c716)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c714()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c717){s1=peg$c717;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c718)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c720){s1=peg$c720;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c721)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c719()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c722){s1=peg$c722;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c723)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c725){s1=peg$c725;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c726)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c724()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c727){s1=peg$c727;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c728)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c730){s1=peg$c730;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c731)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c732){s1=peg$c732;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c733)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c734){s1=peg$c734;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c735)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c729()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c736){s1=peg$c736;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c737)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c739){s1=peg$c739;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c740)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c738()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c741){s1=peg$c741;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c742)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c744){s1=peg$c744;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c745)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c743()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c746){s1=peg$c746;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c747)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c749){s1=peg$c749;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c750)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c748()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c751){s1=peg$c751;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c752)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c754){s1=peg$c754;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c755)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c753()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c756){s1=peg$c756;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c757)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c759){s1=peg$c759;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c760)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c758()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c761){s1=peg$c761;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c762)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c764){s1=peg$c764;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c765)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c763()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c766){s1=peg$c766;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c767)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c769){s1=peg$c769;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c770)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c768()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c771){s1=peg$c771;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c772)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c774){s1=peg$c774;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c775)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c773()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c776){s1=peg$c776;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c777)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c779){s1=peg$c779;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c780)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c778()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c781){s1=peg$c781;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c782)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c784){s1=peg$c784;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c785)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c783()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c786){s1=peg$c786;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c787)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c789){s1=peg$c789;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c790)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c788()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c791){s1=peg$c791;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c792)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c794){s1=peg$c794;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c795)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c793()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c796){s1=peg$c796;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c797)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c799){s1=peg$c799;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c800)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c798()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c801){s1=peg$c801;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c802)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c804){s1=peg$c804;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c805)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c803()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c806){s1=peg$c806;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c807)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c809){s1=peg$c809;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c810)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c808()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c811){s1=peg$c811;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c812)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,20)===peg$c814){s1=peg$c814;peg$currPos+=20}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c815)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c813()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c816){s1=peg$c816;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c817)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c819){s1=peg$c819;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c820)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c821){s1=peg$c821;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c822)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c823){s1=peg$c823;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c824)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c818()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c825){s1=peg$c825;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c826)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c828){s1=peg$c828;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c829)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c827()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c830){s1=peg$c830;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c831)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c833){s1=peg$c833;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c834)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c832()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c835){s1=peg$c835;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c836)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c838){s1=peg$c838;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c839)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c837()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c840){s1=peg$c840;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c841)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c843){s1=peg$c843;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c844)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c842()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c845){s1=peg$c845;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c846)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c848){s1=peg$c848;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c849)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c847()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c850){s1=peg$c850;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c851)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c853){s1=peg$c853;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c854)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c855){s1=peg$c855;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c856)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c857){s1=peg$c857;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c858)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c852()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c859){s1=peg$c859;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c860)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c862){s1=peg$c862;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c863)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c861()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c864){s1=peg$c864;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c865)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c867){s1=peg$c867;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c868)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c866()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c869){s1=peg$c869;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c870)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c872){s1=peg$c872;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c873)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c871()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c874){s1=peg$c874;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c875)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c877){s1=peg$c877;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c878)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c876()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c879){s1=peg$c879;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c880)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c882){s1=peg$c882;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c883)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c881()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c884){s1=peg$c884;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c885)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c886){s1=peg$c886;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c887)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c704()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c888){s1=peg$c888;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c889)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c891){s1=peg$c891;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c892)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c890()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c893){s1=peg$c893;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c894)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,16)===peg$c896){s1=peg$c896;peg$currPos+=16}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c897)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c895()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c898){s1=peg$c898;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c899)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c901){s1=peg$c901;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c902)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c900()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c903){s1=peg$c903;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c904)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c906){s1=peg$c906;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c907)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c905()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c908){s1=peg$c908;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c909)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c911){s1=peg$c911;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c912)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c910()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c913){s1=peg$c913;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c914)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,14)===peg$c916){s1=peg$c916;peg$currPos+=14}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c917)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c915()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c918){s1=peg$c918;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c919)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c921){s1=peg$c921;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c922)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c920()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c923){s1=peg$c923;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c924)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,17)===peg$c926){s1=peg$c926;peg$currPos+=17}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c927)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c925()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c928){s1=peg$c928;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c929)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c931){s1=peg$c931;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c932)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c930()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c933){s1=peg$c933;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c934)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,15)===peg$c936){s1=peg$c936;peg$currPos+=15}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c937)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c935()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c938){s1=peg$c938;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c939)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,12)===peg$c941){s1=peg$c941;peg$currPos+=12}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c942)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c940()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c943){s1=peg$c943;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c944)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c946){s1=peg$c946;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c947)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c945()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c948){s1=peg$c948;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c949)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c951){s1=peg$c951;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c952)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c950()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c953){s1=peg$c953;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c954)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c956){s1=peg$c956;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c957)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c955()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c958){s1=peg$c958;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c959)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c961){s1=peg$c961;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c962)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c960()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c963){s1=peg$c963;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c964)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c966){s1=peg$c966;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c967)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c965()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c968){s1=peg$c968;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c969)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c971){s1=peg$c971;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c972)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c970()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c973){s1=peg$c973;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c974)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c976){s1=peg$c976;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c977)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c975()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c978){s1=peg$c978;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c979)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c981){s1=peg$c981;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c982)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c980()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c983){s1=peg$c983;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c984)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c986){s1=peg$c986;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c987)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c985()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c988){s1=peg$c988;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c989)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c991){s1=peg$c991;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c992)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c990()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c993){s1=peg$c993;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c994)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c996){s1=peg$c996;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c997)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c995()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c998){s1=peg$c998;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c999)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1001){s1=peg$c1001;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1002)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1000()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1003){s1=peg$c1003;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1004)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1006){s1=peg$c1006;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1007)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1005()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1008){s1=peg$c1008;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1009)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1011){s1=peg$c1011;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1012)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1010()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1013){s1=peg$c1013;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1014)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1016){s1=peg$c1016;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1017)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1015()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1018){s1=peg$c1018;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1019)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1021){s1=peg$c1021;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1022)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1020()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1023){s1=peg$c1023;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1024)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1026){s1=peg$c1026;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1027)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1025()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1028){s1=peg$c1028;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1029)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1031){s1=peg$c1031;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1032)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1030()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1033){s1=peg$c1033;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1034)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1036){s1=peg$c1036;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1037)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1035()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1038){s1=peg$c1038;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1039)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1041){s1=peg$c1041;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1042)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1040()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1043){s1=peg$c1043;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1044)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1046){s1=peg$c1046;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1047)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1045()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1048){s1=peg$c1048;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1049)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1051){s1=peg$c1051;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1052)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1050()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1053){s1=peg$c1053;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1054)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1056){s1=peg$c1056;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1057)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1055()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1058){s1=peg$c1058;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1059)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1061){s1=peg$c1061;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1062)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1060()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1063){s1=peg$c1063;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1064)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1066){s1=peg$c1066;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1067)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1065()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1068){s1=peg$c1068;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1069)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1071){s1=peg$c1071;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1072)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1070()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1073){s1=peg$c1073;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1074)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1076){s1=peg$c1076;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1077)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1075()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1078){s1=peg$c1078;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1079)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1081){s1=peg$c1081;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1082)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1080()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1083){s1=peg$c1083;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1084)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1086){s1=peg$c1086;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1087)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1085()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1088){s1=peg$c1088;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1089)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,8)===peg$c1091){s1=peg$c1091;peg$currPos+=8}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1092)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1090()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1093){s1=peg$c1093;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1094)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1096){s1=peg$c1096;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1097)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1095()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1098){s1=peg$c1098;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1099)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1101){s1=peg$c1101;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1102)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1100()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1103){s1=peg$c1103;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1104)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1106){s1=peg$c1106;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1107)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1105()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1108){s1=peg$c1108;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1109)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1111){s1=peg$c1111;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1112)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1110()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1113){s1=peg$c1113;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1114)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1116){s1=peg$c1116;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1117)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1118){s1=peg$c1118;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1119)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1120){s1=peg$c1120;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1121)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1115()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1122){s1=peg$c1122;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1123)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1125){s1=peg$c1125;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1126)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1124()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1127){s1=peg$c1127;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1128)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1130){s1=peg$c1130;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1131)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1129()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1132){s1=peg$c1132;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1133)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1135){s1=peg$c1135;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1136)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1134()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1137){s1=peg$c1137;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1138)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,3)===peg$c1140){s1=peg$c1140;peg$currPos+=3}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1141)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1139()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1142){s1=peg$c1142;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1143)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c1145){s1=peg$c1145;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1146)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1144()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1147){s1=peg$c1147;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1148)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1150){s1=peg$c1150;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1151)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1149()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1152){s1=peg$c1152;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1153)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1155){s1=peg$c1155;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1156)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1154()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1157){s1=peg$c1157;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1158)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c1160){s1=peg$c1160;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1161)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1159()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1162){s1=peg$c1162;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1163)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1165){s1=peg$c1165;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1166)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1164()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1167){s1=peg$c1167;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1168)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1170){s1=peg$c1170;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1171)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1169()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1172){s1=peg$c1172;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1173)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,10)===peg$c1175){s1=peg$c1175;peg$currPos+=10}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1176)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1174()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1177){s1=peg$c1177;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1178)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c1180){s1=peg$c1180;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1181)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1179()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1182){s1=peg$c1182;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1183)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1185){s1=peg$c1185;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1186)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1184()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1187){s1=peg$c1187;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1188)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,6)===peg$c1190){s1=peg$c1190;peg$currPos+=6}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1191)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1189()}s0=s1}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}return s0}function peg$parseSvgColor(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseSvgColorLabel();if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1192(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb3(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1195(s2,s3,s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgb6(){var s0,s1,s2,s3,s4,s5,s6,s7,s8;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseWS();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){peg$savedPos=s0;s1=peg$c1196(s2,s3,s4,s5,s6,s7);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba4(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1197(s2,s3,s4,s5);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseRgba8(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===35){s1=peg$c1193;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1194)}}if(s1!==peg$FAILED){s2=peg$parseHexDigit();if(s2!==peg$FAILED){s3=peg$parseHexDigit();if(s3!==peg$FAILED){s4=peg$parseHexDigit();if(s4!==peg$FAILED){s5=peg$parseHexDigit();if(s5!==peg$FAILED){s6=peg$parseHexDigit();if(s6!==peg$FAILED){s7=peg$parseHexDigit();if(s7!==peg$FAILED){s8=peg$parseHexDigit();if(s8!==peg$FAILED){s9=peg$parseHexDigit();if(s9!==peg$FAILED){s10=peg$parseWS();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){peg$savedPos=s0;s1=peg$c1198(s2,s3,s4,s5,s6,s7,s8,s9);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseColor(){var s0;peg$silentFails++;s0=peg$parseSvgColor();if(s0===peg$FAILED){s0=peg$parseRgba8();if(s0===peg$FAILED){s0=peg$parseRgb6();if(s0===peg$FAILED){s0=peg$parseRgba4();if(s0===peg$FAILED){s0=peg$parseRgb3()}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseArrowItemKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1200){s0=peg$c1200;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1201)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1202){s0=peg$c1202;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1203)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1204){s0=peg$c1204;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1205)}}}}return s0}function peg$parseArrowItem(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseArrowItemKey();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1210(s2,s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseSingleEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1214(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1211)}}return s0}function peg$parseTransitionLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1218(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1215)}}return s0}function peg$parseArrowItems(){var s0,s1;s0=peg$parseSingleEdgeColor();if(s0===peg$FAILED){s0=peg$parseTransitionLineStyle();if(s0===peg$FAILED){s0=[];s1=peg$parseArrowItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseArrowItem()}}else{s0=peg$FAILED}}}return s0}function peg$parseArrowDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseArrowItems();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrowProbability(){var s0,s1,s2;s0=peg$currPos;s1=peg$parseNonNegNumber();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===37){s2=peg$c1224;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1225)}}if(s2!==peg$FAILED){peg$savedPos=s0;s1=peg$c1226(s1);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelList(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===91){s1=peg$c11;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c12)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}while(s4!==peg$FAILED){s3.push(s4);s4=peg$currPos;s5=peg$parseLabel();if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s5=[s5,s6];s4=s5}else{peg$currPos=s4;s4=peg$FAILED}}else{peg$currPos=s4;s4=peg$FAILED}}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===93){s4=peg$c13;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c14)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1227(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseLabelOrLabelList(){var s0;s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}return s0}function peg$parseStripe(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1228){s1=peg$c1228;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1229)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1230(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1231){s1=peg$c1231;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1232)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1233(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}return s0}function peg$parseCycle(){var s0,s1,s2,s3,s4;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===43){s1=peg$c1234;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1235)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1236(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.charCodeAt(peg$currPos)===45){s1=peg$c1237;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1238)}}if(s1!==peg$FAILED){s2=peg$parseNonZeroDigit();if(s2!==peg$FAILED){s3=[];s4=peg$parseDecimalDigit();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseDecimalDigit()}if(s3!==peg$FAILED){peg$savedPos=s0;s1=peg$c1239(s2,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,2)===peg$c1240){s1=peg$c1240;peg$currPos+=2}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1241)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1242()}s0=s1}}return s0}function peg$parseArrowTarget(){var s0;s0=peg$parseStripe();if(s0===peg$FAILED){s0=peg$parseCycle();if(s0===peg$FAILED){s0=peg$parseLabelList();if(s0===peg$FAILED){s0=peg$parseLabel()}}}return s0}function peg$parseSubexp(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13,s14,s15,s16,s17,s18;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){s2=peg$parseActionLabel();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseArrowProbability();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseArrowDesc();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseArrow();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){s10=peg$parseArrowDesc();if(s10===peg$FAILED){s10=null}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){s12=peg$parseArrowProbability();if(s12===peg$FAILED){s12=null}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){s14=peg$parseActionLabel();if(s14===peg$FAILED){s14=null}if(s14!==peg$FAILED){s15=peg$parseWS();if(s15===peg$FAILED){s15=null}if(s15!==peg$FAILED){s16=peg$parseArrowTarget();if(s16!==peg$FAILED){s17=peg$parseWS();if(s17===peg$FAILED){s17=null}if(s17!==peg$FAILED){s18=peg$parseSubexp();if(s18===peg$FAILED){s18=null}if(s18!==peg$FAILED){peg$savedPos=s0;s1=peg$c1243(s2,s4,s6,s8,s10,s12,s14,s16,s18);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseExp(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;s1=peg$parseArrowTarget();if(s1!==peg$FAILED){s2=peg$parseSubexp();if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1244(s1,s2);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseValidationItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseValidationKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1249(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseValidationItems(){var s0,s1;s0=[];s1=peg$parseValidationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseValidationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigValidation(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1250){s2=peg$c1250;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1251)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseValidationItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1254(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseGvizLayout(){var s0;if(input.substr(peg$currPos,3)===peg$c1255){s0=peg$c1255;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1256)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1257){s0=peg$c1257;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1258)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,3)===peg$c1259){s0=peg$c1259;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1260)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1261){s0=peg$c1261;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1262)}}}}}return s0}function peg$parseStateItems(){var s0,s1;s0=[];s1=peg$parseStateDeclarationItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseStateDeclarationItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1265(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1266){s2=peg$c1266;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1267)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1268(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1269){s2=peg$c1269;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1270)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1271(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigActiveState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1272){s2=peg$c1272;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1273)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1274(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigTerminalState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1275){s2=peg$c1275;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1276)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1277(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigHookedState(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1278){s2=peg$c1278;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1279)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1280(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAnyState(){var s0;s0=peg$parseConfigState();if(s0===peg$FAILED){s0=peg$parseConfigStartState();if(s0===peg$FAILED){s0=peg$parseConfigEndState();if(s0===peg$FAILED){s0=peg$parseConfigActiveState();if(s0===peg$FAILED){s0=peg$parseConfigTerminalState();if(s0===peg$FAILED){s0=peg$parseConfigHookedState()}}}}}return s0}function peg$parseActionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseActionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseActionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1281(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseActionItems(){var s0,s1;s0=[];s1=peg$parseActionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseActionItem()}}else{s0=peg$FAILED}return s0}function peg$parseConfigAction(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1282){s2=peg$c1282;peg$currPos+=6}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1283)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseActionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1284(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionKey(){var s0;if(input.substr(peg$currPos,9)===peg$c1245){s0=peg$c1245;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1246)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1247){s0=peg$c1247;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1248)}}}return s0}function peg$parseTransitionItem(){var s0,s1,s2,s3,s4;s0=peg$currPos;s1=peg$parseTransitionKey();if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s2=peg$c1206;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s2!==peg$FAILED){s3=peg$parseLabel();if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s4=peg$c1208;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s4!==peg$FAILED){peg$savedPos=s0;s1=peg$c1285(s1,s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseTransitionItems(){var s0,s1;s0=peg$parseGraphDefaultEdgeColor();if(s0===peg$FAILED){s0=[];s1=peg$parseTransitionItem();if(s1!==peg$FAILED){while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTransitionItem()}}else{s0=peg$FAILED}}return s0}function peg$parseGraphDefaultEdgeColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1212){s2=peg$c1212;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1213)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1287(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1286)}}return s0}function peg$parseConfigTransition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1288){s2=peg$c1288;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1289)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===123){s6=peg$c1219;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseTransitionItems();if(s8===peg$FAILED){s8=null}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.substr(peg$currPos,2)===peg$c1252){s10=peg$c1252;peg$currPos+=2}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1253)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1290(s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphLayout(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1291){s2=peg$c1291;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1292)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizLayout();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1293(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigStartNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1294){s2=peg$c1294;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1295)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1296(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigEndNodes(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1297){s2=peg$c1297;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1298)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1299(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigGraphBgColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1300){s2=peg$c1300;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1301)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1302(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseConfigAllowsOverride(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1303){s2=peg$c1303;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1304)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseOverrideT();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1305(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseOverrideT(){var s0,s1;s0=peg$currPos;if(input.substr(peg$currPos,4)===peg$c230){s1=peg$c230;peg$currPos+=4}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c231)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1306()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,5)===peg$c233){s1=peg$c233;peg$currPos+=5}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c234)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c1307()}s0=s1;if(s0===peg$FAILED){s0=peg$currPos;if(input.substr(peg$currPos,9)===peg$c279){s1=peg$c279;peg$currPos+=9}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c280)}}if(s1!==peg$FAILED){peg$savedPos=s0;s1=peg$c281()}s0=s1}}return s0}function peg$parseConfig(){var s0;peg$silentFails++;s0=peg$parseConfigGraphLayout();if(s0===peg$FAILED){s0=peg$parseConfigStartNodes();if(s0===peg$FAILED){s0=peg$parseConfigEndNodes();if(s0===peg$FAILED){s0=peg$parseConfigTransition();if(s0===peg$FAILED){s0=peg$parseConfigAction();if(s0===peg$FAILED){s0=peg$parseConfigAnyState();if(s0===peg$FAILED){s0=peg$parseConfigValidation();if(s0===peg$FAILED){s0=peg$parseConfigGraphBgColor();if(s0===peg$FAILED){s0=peg$parseConfigAllowsOverride()}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1308)}}return s0}function peg$parseLicenseOrLabelOrList(){var s0;if(input.substr(peg$currPos,3)===peg$c1309){s0=peg$c1309;peg$currPos+=3}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1310)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1311){s0=peg$c1311;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1312)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1313){s0=peg$c1313;peg$currPos+=12}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1314)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1315){s0=peg$c1315;peg$currPos+=10}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1316)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1317){s0=peg$c1317;peg$currPos+=11}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1318)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,13)===peg$c1319){s0=peg$c1319;peg$currPos+=13}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1320)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1321){s0=peg$c1321;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1322)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1323){s0=peg$c1323;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1324)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1325){s0=peg$c1325;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1326)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1327){s0=peg$c1327;peg$currPos+=9}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1328)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1329){s0=peg$c1329;peg$currPos+=7}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1330)}}if(s0===peg$FAILED){s0=peg$parseLabel();if(s0===peg$FAILED){s0=peg$parseLabelList()}}}}}}}}}}}}return s0}function peg$parseDirection(){var s0;peg$silentFails++;if(input.substr(peg$currPos,2)===peg$c1332){s0=peg$c1332;peg$currPos+=2}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1333)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1334){s0=peg$c1334;peg$currPos+=5}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1335)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1336){s0=peg$c1336;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1337)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1338){s0=peg$c1338;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1339)}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1331)}}return s0}function peg$parseHookDefinition(){var s0;peg$silentFails++;if(input.substr(peg$currPos,4)===peg$c1341){s0=peg$c1341;peg$currPos+=4}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1342)}}if(s0===peg$FAILED){if(input.substr(peg$currPos,6)===peg$c1343){s0=peg$c1343;peg$currPos+=6}else{s0=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1344)}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1340)}}return s0}function peg$parseMachineAuthor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,14)===peg$c1345){s2=peg$c1345;peg$currPos+=14}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1346)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1347(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineContributor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,19)===peg$c1348){s2=peg$c1348;peg$currPos+=19}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1349)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1350(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineComment(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1351){s2=peg$c1351;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1352)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabelOrLabelList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1353(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,18)===peg$c1354){s2=peg$c1354;peg$currPos+=18}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1355)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseURL();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1356(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineName(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1357){s2=peg$c1357;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1358)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1359(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1363){s2=peg$c1363;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1364)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1365(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLicense(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,15)===peg$c1366){s2=peg$c1366;peg$currPos+=15}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1367)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLicenseOrLabelOrList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1368(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineLanguage(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1369){s2=peg$c1369;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1370)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1371(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseFslVersion(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,11)===peg$c1372){s2=peg$c1372;peg$currPos+=11}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1373)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseSemVer();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1374(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineTheme(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1375){s2=peg$c1375;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1376)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseThemeOrThemeList();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1377(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineFlow(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,4)===peg$c1378){s2=peg$c1378;peg$currPos+=4}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1379)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseDirection();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1380(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineHookDefinition(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1381){s2=peg$c1381;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1382)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseHookDefinition();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1383(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseDotPreamble(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1384){s2=peg$c1384;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1385)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseString();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1386(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineAttribute(){var s0;peg$silentFails++;s0=peg$parseFslVersion();if(s0===peg$FAILED){s0=peg$parseMachineName();if(s0===peg$FAILED){s0=peg$parseMachineAuthor();if(s0===peg$FAILED){s0=peg$parseMachineContributor();if(s0===peg$FAILED){s0=peg$parseMachineComment();if(s0===peg$FAILED){s0=peg$parseMachineDefinition();if(s0===peg$FAILED){s0=peg$parseMachineVersion();if(s0===peg$FAILED){s0=peg$parseMachineLicense();if(s0===peg$FAILED){s0=peg$parseMachineLanguage();if(s0===peg$FAILED){s0=peg$parseMachineTheme();if(s0===peg$FAILED){s0=peg$parseDotPreamble();if(s0===peg$FAILED){s0=peg$parseMachineFlow();if(s0===peg$FAILED){s0=peg$parseMachineHookDefinition()}}}}}}}}}}}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1387)}}return s0}function peg$parsePropertyVal(){var s0;s0=peg$parseString();if(s0===peg$FAILED){s0=peg$parseBoolean();if(s0===peg$FAILED){s0=peg$parseJsNumericLiteral();if(s0===peg$FAILED){s0=peg$parseNull();if(s0===peg$FAILED){s0=peg$parseUndefined()}}}}return s0}function peg$parseSdStateLabel(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1388){s2=peg$c1388;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1389)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLabel();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1390(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1391){s2=peg$c1391;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1392)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1393(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1199)}}return s0}function peg$parseSdStateTextColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1395){s2=peg$c1395;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1396)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1397(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1394)}}return s0}function peg$parseSdStateBackgroundColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,16)===peg$c1399){s2=peg$c1399;peg$currPos+=16}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1400)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1401(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1398)}}return s0}function peg$parseSdStateBorderColor(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,12)===peg$c1403){s2=peg$c1403;peg$currPos+=12}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1404)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseColor();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1405(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1402)}}return s0}function peg$parseSdStateShape(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1407){s2=peg$c1407;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1408)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseGvizShape();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1409(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1406)}}return s0}function peg$parseSdStateCorners(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c1411){s2=peg$c1411;peg$currPos+=7}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1412)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseCorners();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1413(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1410)}}return s0}function peg$parseSdStateLineStyle(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,10)===peg$c1216){s2=peg$c1216;peg$currPos+=10}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1217)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,9)===peg$c1416){s2=peg$c1416;peg$currPos+=9}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1417)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseLineStyle();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1415(s6);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1414)}}return s0}function peg$parseSdStateProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;peg$silentFails++;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1421(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s4=peg$c1206;peg$currPos++}else{s4=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){s6=peg$parseAtom();if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1424(s6,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}peg$silentFails--;if(s0===peg$FAILED){s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1418)}}return s0}function peg$parseStateDeclarationItem(){var s0;s0=peg$parseSdStateLabel();if(s0===peg$FAILED){s0=peg$parseSdStateColor();if(s0===peg$FAILED){s0=peg$parseSdStateTextColor();if(s0===peg$FAILED){s0=peg$parseSdStateBackgroundColor();if(s0===peg$FAILED){s0=peg$parseSdStateBorderColor();if(s0===peg$FAILED){s0=peg$parseSdStateShape();if(s0===peg$FAILED){s0=peg$parseSdStateCorners();if(s0===peg$FAILED){s0=peg$parseSdStateLineStyle();if(s0===peg$FAILED){s0=peg$parseSdStateProperty()}}}}}}}}return s0}function peg$parseStateDeclarationDesc(){var s0,s1,s2,s3,s4,s5;s0=peg$currPos;if(input.charCodeAt(peg$currPos)===123){s1=peg$c1219;peg$currPos++}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1220)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=[];s4=peg$parseStateDeclarationItem();while(s4!==peg$FAILED){s3.push(s4);s4=peg$parseStateDeclarationItem()}if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===125){s5=peg$c1221;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1222)}}if(s5!==peg$FAILED){peg$savedPos=s0;s1=peg$c1223(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseStateDeclaration(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,5)===peg$c1263){s2=peg$c1263;peg$currPos+=5}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1264)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseStateDeclarationDesc();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1425(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseNamedList(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.charCodeAt(peg$currPos)===38){s2=peg$c1426;peg$currPos++}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1427)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3===peg$FAILED){s3=null}if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===58){s6=peg$c1206;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1207)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){s8=peg$parseLabelOrLabelList();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1428(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseMachineProperty(){var s0,s1,s2,s3,s4,s5,s6,s7,s8,s9,s10,s11,s12,s13;s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s10=peg$c1422;peg$currPos+=8}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s12=peg$c1208;peg$currPos++}else{s12=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s12!==peg$FAILED){s13=peg$parseWS();if(s13===peg$FAILED){s13=null}if(s13!==peg$FAILED){peg$savedPos=s0;s1=peg$c1429(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1422){s6=peg$c1422;peg$currPos+=8}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1423)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s8=peg$c1208;peg$currPos++}else{s8=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){peg$savedPos=s0;s1=peg$c1430(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5!==peg$FAILED){if(input.substr(peg$currPos,7)===peg$c3){s6=peg$c3;peg$currPos+=7}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c4)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7!==peg$FAILED){s8=peg$parsePropertyVal();if(s8!==peg$FAILED){s9=peg$parseWS();if(s9===peg$FAILED){s9=null}if(s9!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s10=peg$c1208;peg$currPos++}else{s10=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s10!==peg$FAILED){s11=peg$parseWS();if(s11===peg$FAILED){s11=null}if(s11!==peg$FAILED){peg$savedPos=s0;s1=peg$c1431(s4,s8);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}if(s0===peg$FAILED){s0=peg$currPos;s1=peg$parseWS();if(s1===peg$FAILED){s1=null}if(s1!==peg$FAILED){if(input.substr(peg$currPos,8)===peg$c1419){s2=peg$c1419;peg$currPos+=8}else{s2=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1420)}}if(s2!==peg$FAILED){s3=peg$parseWS();if(s3!==peg$FAILED){s4=peg$parseLabel();if(s4!==peg$FAILED){s5=peg$parseWS();if(s5===peg$FAILED){s5=null}if(s5!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s6=peg$c1208;peg$currPos++}else{s6=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s6!==peg$FAILED){s7=peg$parseWS();if(s7===peg$FAILED){s7=null}if(s7!==peg$FAILED){peg$savedPos=s0;s1=peg$c1432(s4);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}}}return s0}function peg$parseRegularArrangeDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,7)===peg$c1433){s1=peg$c1433;peg$currPos+=7}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1434)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1435(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeStartDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,13)===peg$c1436){s1=peg$c1436;peg$currPos+=13}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1437)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1438(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeEndDeclaration(){var s0,s1,s2,s3,s4,s5,s6;s0=peg$currPos;if(input.substr(peg$currPos,11)===peg$c1439){s1=peg$c1439;peg$currPos+=11}else{s1=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1440)}}if(s1!==peg$FAILED){s2=peg$parseWS();if(s2===peg$FAILED){s2=null}if(s2!==peg$FAILED){s3=peg$parseLabelOrLabelList();if(s3!==peg$FAILED){s4=peg$parseWS();if(s4===peg$FAILED){s4=null}if(s4!==peg$FAILED){if(input.charCodeAt(peg$currPos)===59){s5=peg$c1208;peg$currPos++}else{s5=peg$FAILED;if(peg$silentFails===0){peg$fail(peg$c1209)}}if(s5!==peg$FAILED){s6=peg$parseWS();if(s6===peg$FAILED){s6=null}if(s6!==peg$FAILED){peg$savedPos=s0;s1=peg$c1441(s3);s0=s1}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}}else{peg$currPos=s0;s0=peg$FAILED}return s0}function peg$parseArrangeDeclaration(){var s0;peg$silentFails++;s0=peg$parseArrangeStartDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeEndDeclaration();if(s0===peg$FAILED){s0=peg$parseRegularArrangeDeclaration()}}peg$silentFails--;if(s0===peg$FAILED){if(peg$silentFails===0){peg$fail(peg$c1442)}}return s0}function peg$parseTerm(){var s0;s0=peg$parseExp();if(s0===peg$FAILED){s0=peg$parseStateDeclaration();if(s0===peg$FAILED){s0=peg$parseArrangeDeclaration();if(s0===peg$FAILED){s0=peg$parseNamedList();if(s0===peg$FAILED){s0=peg$parseMachineAttribute();if(s0===peg$FAILED){s0=peg$parseMachineProperty();if(s0===peg$FAILED){s0=peg$parseConfig()}}}}}}return s0}function peg$parseTermList(){var s0,s1;s0=[];s1=peg$parseTerm();while(s1!==peg$FAILED){s0.push(s1);s1=peg$parseTerm()}return s0}peg$result=peg$startRuleFunction();if(peg$result!==peg$FAILED&&peg$currPos===input.length){return peg$result}else{if(peg$result!==peg$FAILED&&peg$currPostypeof n==="string"?[n]:n;const weighted_rand_select=(options,probability_property="probability",rng)=>{if(!Array.isArray(options)){throw new TypeError("options must be a non-empty array of objects")}if(!(typeof options[0]==="object")){throw new TypeError("options must be a non-empty array of objects")}const frand=cap=>Math.random()*cap,or_one=item=>item===undefined?1:item,prob_sum=options.reduce(((acc,val)=>acc+or_one(val[probability_property])),0),rnd=frand(prob_sum);let cursor=0,cursor_sum=0;while((cursor_sum+=or_one(options[cursor++][probability_property]))<=rnd){}return options[cursor-1]};function seq(n){if(!Number.isInteger(n)){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}if(n<0){throw new TypeError("seq/1 takes a non-negative integer n as an argument")}return new Array(n).fill(true).map(((_,i)=>i))}const histograph=ar=>ar.sort().reduce(((m,v)=>(m.set(v,m.has(v)?m.get(v)+1:1),m)),new Map);const weighted_sample_select=(n,options,probability_property)=>seq(n).map((_i=>weighted_rand_select(options,probability_property)));const weighted_histo_key=(n,opts,prob_prop,extract)=>histograph(weighted_sample_select(n,opts,prob_prop).map((s=>s[extract])));function name_bind_prop_and_state(prop,state){if(typeof prop!=="string"){throw new JssmError(undefined,`Name of property must be a string; got ${prop}`)}if(typeof state!=="string"){throw new JssmError(undefined,`Name of state must be a string; got ${prop}`)}return JSON.stringify([prop,state])}const hook_name=(from,to)=>JSON.stringify([from,to]);const named_hook_name=(from,to,action)=>JSON.stringify([from,to,action]);function gen_splitmix32(a){if(a===undefined){a=(new Date).getTime()}return function(){a|=0;a=a+2654435769|0;var t=a^a>>>16;t=Math.imul(t,569420461);t=t^t>>>15;t=Math.imul(t,1935289751);return((t=t^t>>>15)>>>0)/4294967296}}const unique=arr=>arr.filter(((v,i,a)=>a.indexOf(v)===i));function find_repeated(arr){const uniqued=unique(arr);if(uniqued.length!==arr.length){const residue_keys=new Map;arr.forEach((k=>residue_keys.set(k,residue_keys.has(k)?residue_keys.get(k)+1:1)));uniqued.forEach((k=>residue_keys.set(k,residue_keys.get(k)-1)));return[...residue_keys.entries()].filter((e=>e[1]>0&&!Number.isNaN(e[0]))).map((e=>[e[0],e[1]+1]))}else{return[]}}var reductions={abkhazian:"ab","аҧсуа бызшәа, аҧсшәа":"ab",ab:"ab",abk:"ab","аҧсуа бызшәа":"ab","аҧсшәа":"ab",afar:"aa",afaraf:"aa",aa:"aa",aar:"aa",afrikaans:"af",af:"af",afr:"af",akan:"ak",ak:"ak",aka:"ak","aka + 2":"ak",albanian:"sq",shqip:"sq",sq:"sq",sqi:"sq",alb:"sq","sqi + 4":"sq",amharic:"am","አማርኛ":"am",am:"am",amh:"am",arabic:"ar","العربية":"ar",ar:"ar",ara:"ar","ara + 30":"ar",aragonese:"an","aragonés":"an",an:"an",arg:"an",armenian:"hy","հայերեն":"hy",hy:"hy",hye:"hy",arm:"hy",assamese:"as","অসমীয়া":"as",as:"as",asm:"as",avaric:"av","авар мацӏ, магӏарул мацӏ":"av",av:"av",ava:"av","авар мацӏ":"av","магӏарул мацӏ":"av",avestan:"ae",avesta:"ae",ae:"ae",ave:"ae",aymara:"ay","aymar aru":"ay",ay:"ay",aym:"ay","aym + 2":"ay",azerbaijani:"az","azərbaycan dili":"az",az:"az",aze:"az","aze + 2":"az",bambara:"bm",bamanankan:"bm",bm:"bm",bam:"bm",bashkir:"ba","башҡорт теле":"ba",ba:"ba",bak:"ba",basque:"eu","euskara, euskera":"eu",eu:"eu",eus:"eu",baq:"eu",euskara:"eu",euskera:"eu",belarusian:"be","беларуская мова":"be",be:"be",bel:"be",bengali:"bn","বাংলা":"bn",bn:"bn",ben:"bn","bihari languages":"bh","भोजपुरी":"bh",bh:"bh",bih:"bh",bislama:"bi",bi:"bi",bis:"bi",bosnian:"bs","bosanski jezik":"bs",bs:"bs",bos:"bs",breton:"br",brezhoneg:"br",br:"br",bre:"br",bulgarian:"bg","български език":"bg",bg:"bg",bul:"bg",burmese:"my","ဗမာစာ":"my",my:"my",mya:"my",bur:"my","catalan, valencian":"ca","català, valencià":"ca",ca:"ca",cat:"ca","català":"ca","valencià":"ca",chamorro:"ch",chamoru:"ch",ch:"ch",cha:"ch",chechen:"ce","нохчийн мотт":"ce",ce:"ce",che:"ce","chichewa, chewa, nyanja":"ny","chicheŵa, chinyanja":"ny",ny:"ny",nya:"ny","chicheŵa":"ny",chinyanja:"ny",chinese:"zh","中文 (zhōngwén), 汉语, 漢語":"zh",zh:"zh",zho:"zh",chi:"zh","zho + 13":"zh","中文 (zhōngwén)":"zh","汉语":"zh","漢語":"zh",chuvash:"cv","чӑваш чӗлхи":"cv",cv:"cv",chv:"cv",cornish:"kw",kernewek:"kw",kw:"kw",cor:"kw",corsican:"co","corsu, lingua corsa":"co",co:"co",cos:"co",corsu:"co","lingua corsa":"co",cree:"cr","ᓀᐦᐃᔭᐍᐏᐣ":"cr",cr:"cr",cre:"cr","cre + 6":"cr",croatian:"hr","hrvatski jezik":"hr",hr:"hr",hrv:"hr",czech:"cs","čeština, český jazyk":"cs",cs:"cs",ces:"cs",cze:"cs","čeština":"cs","český jazyk":"cs",danish:"da",dansk:"da",da:"da",dan:"da","divehi, dhivehi, maldivian":"dv","ދިވެހި":"dv",dv:"dv",div:"dv","dutch, flemish":"nl","nederlands, vlaams":"nl",nl:"nl",nld:"nl",dut:"nl",nederlands:"nl",vlaams:"nl",dzongkha:"dz","རྫོང་ཁ":"dz",dz:"dz",dzo:"dz",english:"en",en:"en",eng:"en",esperanto:"eo",eo:"eo",epo:"eo",estonian:"et","eesti, eesti keel":"et",et:"et",est:"et","est + 2":"et",eesti:"et","eesti keel":"et",ewe:"ee","eʋegbe":"ee",ee:"ee",faroese:"fo","føroyskt":"fo",fo:"fo",fao:"fo",fijian:"fj","vosa vakaviti":"fj",fj:"fj",fij:"fj",finnish:"fi","suomi, suomen kieli":"fi",fi:"fi",fin:"fi",suomi:"fi","suomen kieli":"fi",french:"fr","français, langue française":"fr",fr:"fr",fra:"fr",fre:"fr","français":"fr","langue française":"fr",fulah:"ff","fulfulde, pulaar, pular":"ff",ff:"ff",ful:"ff","ful + 9":"ff",fulfulde:"ff",pulaar:"ff",pular:"ff",galician:"gl",galego:"gl",gl:"gl",glg:"gl",georgian:"ka","ქართული":"ka",ka:"ka",kat:"ka",geo:"ka",german:"de",deutsch:"de",de:"de",deu:"de",ger:"de","greek (modern)":"el","ελληνικά":"el",el:"el",ell:"el",gre:"el","guaraní":"gn","avañe'ẽ":"gn",gn:"gn",grn:"gn","grn + 5":"gn",gujarati:"gu","ગુજરાતી":"gu",gu:"gu",guj:"gu","haitian, haitian creole":"ht","kreyòl ayisyen":"ht",ht:"ht",hat:"ht",hausa:"ha","(hausa) هَوُسَ":"ha",ha:"ha",hau:"ha","hebrew (modern)":"he","עברית":"he",he:"he",heb:"he",herero:"hz",otjiherero:"hz",hz:"hz",her:"hz",hindi:"hi","हिन्दी, हिंदी":"hi",hi:"hi",hin:"hi","हिन्दी":"hi","हिंदी":"hi","hiri motu":"ho",ho:"ho",hmo:"ho",hungarian:"hu",magyar:"hu",hu:"hu",hun:"hu",interlingua:"ia",ia:"ia",ina:"ia",indonesian:"id","bahasa indonesia":"id",id:"id",ind:"id",interlingue:"ie","originally called occidental; then interlingue after wwii":"ie",ie:"ie",ile:"ie",irish:"ga",gaeilge:"ga",ga:"ga",gle:"ga",igbo:"ig","asụsụ igbo":"ig",ig:"ig",ibo:"ig",inupiaq:"ik","iñupiaq, iñupiatun":"ik",ik:"ik",ipk:"ik","ipk + 2":"ik","iñupiaq":"ik","iñupiatun":"ik",ido:"io",io:"io",icelandic:"is","íslenska":"is",is:"is",isl:"is",ice:"is",italian:"it",italiano:"it",it:"it",ita:"it",inuktitut:"iu","ᐃᓄᒃᑎᑐᑦ":"iu",iu:"iu",iku:"iu","iku + 2":"iu",japanese:"ja","日本語 (にほんご)":"ja",ja:"ja",jpn:"ja",javanese:"jv","ꦧꦱꦗꦮ, basa jawa":"jv",jv:"jv",jav:"jv","ꦧꦱꦗꦮ":"jv","basa jawa":"jv","kalaallisut, greenlandic":"kl","kalaallisut, kalaallit oqaasii":"kl",kl:"kl",kal:"kl",kalaallisut:"kl","kalaallit oqaasii":"kl",kannada:"kn","ಕನ್ನಡ":"kn",kn:"kn",kan:"kn",kanuri:"kr",kr:"kr",kau:"kr","kau + 3":"kr",kashmiri:"ks","कश्मीरी, كشميري‎":"ks",ks:"ks",kas:"ks","कश्मीरी":"ks","كشميري‎":"ks",kazakh:"kk","қазақ тілі":"kk",kk:"kk",kaz:"kk","central khmer":"km","ខ្មែរ, ខេមរភាសា, ភាសាខ្មែរ":"km",km:"km",khm:"km","ខ្មែរ":"km","ខេមរភាសា":"km","ភាសាខ្មែរ":"km","kikuyu, gikuyu":"ki","gĩkũyũ":"ki",ki:"ki",kik:"ki",kinyarwanda:"rw",ikinyarwanda:"rw",rw:"rw",kin:"rw","kirghiz, kyrgyz":"ky","кыргызча, кыргыз тили":"ky",ky:"ky",kir:"ky","кыргызча":"ky","кыргыз тили":"ky",komi:"kv","коми кыв":"kv",kv:"kv",kom:"kv","kom + 2":"kv",kongo:"kg",kikongo:"kg",kg:"kg",kon:"kg","kon + 3":"kg",korean:"ko","한국어":"ko",ko:"ko",kor:"ko",kurdish:"ku","kurdî, كوردی‎":"ku",ku:"ku",kur:"ku","kur + 3":"ku","kurdî":"ku","كوردی‎":"ku","kuanyama, kwanyama":"kj",kuanyama:"kj",kj:"kj",kua:"kj",latin:"la","latine, lingua latina":"la",la:"la",lat:"la",latine:"la","lingua latina":"la","luxembourgish, letzeburgesch":"lb","lëtzebuergesch":"lb",lb:"lb",ltz:"lb",ganda:"lg",luganda:"lg",lg:"lg",lug:"lg","limburgan, limburger, limburgish":"li",limburgs:"li",li:"li",lim:"li",lingala:"ln","lingála":"ln",ln:"ln",lin:"ln",lao:"lo","ພາສາລາວ":"lo",lo:"lo",lithuanian:"lt","lietuvių kalba":"lt",lt:"lt",lit:"lt","luba-katanga":"lu",kiluba:"lu",lu:"lu",lub:"lu",latvian:"lv","latviešu valoda":"lv",lv:"lv",lav:"lv","lav + 2":"lv",manx:"gv","gaelg, gailck":"gv",gv:"gv",glv:"gv",gaelg:"gv",gailck:"gv",macedonian:"mk","македонски јазик":"mk",mk:"mk",mkd:"mk",mac:"mk",malagasy:"mg","fiteny malagasy":"mg",mg:"mg",mlg:"mg","mlg + 10":"mg",malay:"ms","bahasa melayu, بهاس ملايو‎":"ms",ms:"ms",msa:"ms",may:"ms","msa + 13":"ms","bahasa melayu":"ms","بهاس ملايو‎":"ms",malayalam:"ml","മലയാളം":"ml",ml:"ml",mal:"ml",maltese:"mt",malti:"mt",mt:"mt",mlt:"mt",maori:"mi","te reo māori":"mi",mi:"mi",mri:"mi",mao:"mi",marathi:"mr","मराठी":"mr",mr:"mr",mar:"mr",marshallese:"mh","kajin m̧ajeļ":"mh",mh:"mh",mah:"mh",mongolian:"mn","монгол хэл":"mn",mn:"mn",mon:"mn","mon + 2":"mn",nauru:"na","dorerin naoero":"na",na:"na",nau:"na","navajo, navaho":"nv","diné bizaad":"nv",nv:"nv",nav:"nv","north ndebele":"nd",isindebele:"nr",nd:"nd",nde:"nd",nepali:"ne","नेपाली":"ne",ne:"ne",nep:"ne",ndonga:"ng",owambo:"ng",ng:"ng",ndo:"ng","norwegian bokmål":"nb","norsk bokmål":"nb",nb:"nb",nob:"nb","norwegian nynorsk":"nn","norsk nynorsk":"nn",nn:"nn",nno:"nn",norwegian:"no",norsk:"no",no:"no",nor:"no","nor + 2":"no","sichuan yi, nuosu":"ii","ꆈꌠ꒿ nuosuhxop":"ii",ii:"ii",iii:"ii","south ndebele":"nr",nr:"nr",nbl:"nr",occitan:"oc","occitan, lenga d'òc":"oc",oc:"oc",oci:"oc","lenga d'òc":"oc",ojibwa:"oj","ᐊᓂᔑᓈᐯᒧᐎᓐ":"oj",oj:"oj",oji:"oj","oji + 7":"oj","church slavic, church slavonic, old church slavonic, old slavonic, old bulgarian":"cu","ѩзыкъ словѣньскъ":"cu",cu:"cu",chu:"cu",oromo:"om","afaan oromoo":"om",om:"om",orm:"om","orm + 4":"om",oriya:"or","ଓଡ଼ିଆ":"or",or:"or",ori:"or","ossetian, ossetic":"os","ирон æвзаг":"os",os:"os",oss:"os","panjabi, punjabi":"pa","ਪੰਜਾਬੀ":"pa",pa:"pa",pan:"pa",pali:"pi","पाऴि":"pi",pi:"pi",pli:"pi",persian:"fa","فارسی":"fa",fa:"fa",fas:"fa",per:"fa","fas + 2":"fa",polish:"pl","język polski, polszczyzna":"pl",pl:"pl",pol:"pl","język polski":"pl",polszczyzna:"pl","pashto, pushto":"ps","پښتو":"ps",ps:"ps",pus:"ps","pus + 3":"ps",portuguese:"pt","português":"pt",pt:"pt",por:"pt",quechua:"qu","runa simi, kichwa":"qu",qu:"qu",que:"qu","que + 44":"qu","runa simi":"qu",kichwa:"qu",romansh:"rm","rumantsch grischun":"rm",rm:"rm",roh:"rm",rundi:"rn",ikirundi:"rn",rn:"rn",run:"rn","romanian, moldavian, moldovan":"ro","română":"ro",ro:"ro",ron:"ro",rum:"ro",russian:"ru","русский":"ru",ru:"ru",rus:"ru",sanskrit:"sa","संस्कृतम्":"sa",sa:"sa",san:"sa",sardinian:"sc",sardu:"sc",sc:"sc",srd:"sc","srd + 4":"sc",sindhi:"sd","सिन्धी, سنڌي، سندھی‎":"sd",sd:"sd",snd:"sd","सिन्धी":"sd","سنڌي، سندھی‎":"sd","northern sami":"se","davvisámegiella":"se",se:"se",sme:"se",samoan:"sm","gagana fa'a samoa":"sm",sm:"sm",smo:"sm",sango:"sg","yângâ tî sängö":"sg",sg:"sg",sag:"sg",serbian:"sr","српски језик":"sr",sr:"sr",srp:"sr","gaelic, scottish gaelic":"gd","gàidhlig":"gd",gd:"gd",gla:"gd",shona:"sn",chishona:"sn",sn:"sn",sna:"sn","sinhala, sinhalese":"si","සිංහල":"si",si:"si",sin:"si",slovak:"sk","slovenčina, slovenský jazyk":"sk",sk:"sk",slk:"sk",slo:"sk","slovenčina":"sk","slovenský jazyk":"sk",slovenian:"sl","slovenski jezik, slovenščina":"sl",sl:"sl",slv:"sl","slovenski jezik":"sl","slovenščina":"sl",somali:"so","soomaaliga, af soomaali":"so",so:"so",som:"so",soomaaliga:"so","af soomaali":"so","southern sotho":"st",sesotho:"st",st:"st",sot:"st","spanish, castilian":"es","español":"es",es:"es",spa:"es",sundanese:"su","basa sunda":"su",su:"su",sun:"su",swahili:"sw",kiswahili:"sw",sw:"sw",swa:"sw","swa + 2":"sw",swati:"ss",siswati:"ss",ss:"ss",ssw:"ss",swedish:"sv",svenska:"sv",sv:"sv",swe:"sv",tamil:"ta","தமிழ்":"ta",ta:"ta",tam:"ta",telugu:"te","తెలుగు":"te",te:"te",tel:"te",tajik:"tg","тоҷикӣ, toçikī, تاجیکی‎":"tg",tg:"tg",tgk:"tg","тоҷикӣ":"tg","toçikī":"tg","تاجیکی‎":"tg",thai:"th","ไทย":"th",th:"th",tha:"th",tigrinya:"ti","ትግርኛ":"ti",ti:"ti",tir:"ti",tibetan:"bo","བོད་ཡིག":"bo",bo:"bo",bod:"bo",tib:"bo",turkmen:"tk","türkmen, түркмен":"tk",tk:"tk",tuk:"tk","türkmen":"tk","түркмен":"tk",tagalog:"tl","wikang tagalog":"tl",tl:"tl",tgl:"tl",tswana:"tn",setswana:"tn",tn:"tn",tsn:"tn","tonga (tonga islands)":"to","faka tonga":"to",to:"to",ton:"to",turkish:"tr","türkçe":"tr",tr:"tr",tur:"tr",tsonga:"ts",xitsonga:"ts",ts:"ts",tso:"ts",tatar:"tt","татар теле, tatar tele":"tt",tt:"tt",tat:"tt","татар теле":"tt","tatar tele":"tt",twi:"tw",tw:"tw",tahitian:"ty","reo tahiti":"ty",ty:"ty",tah:"ty","uighur, uyghur":"ug","ئۇيغۇرچە‎, uyghurche":"ug",ug:"ug",uig:"ug","ئۇيغۇرچە‎":"ug",uyghurche:"ug",ukrainian:"uk","українська":"uk",uk:"uk",ukr:"uk",urdu:"ur","اردو":"ur",ur:"ur",urd:"ur",uzbek:"uz","oʻzbek, ўзбек, أۇزبېك‎":"uz",uz:"uz",uzb:"uz","uzb + 2":"uz","oʻzbek":"uz","ўзбек":"uz","أۇزبېك‎":"uz",venda:"ve","tshivenḓa":"ve",ve:"ve",ven:"ve",vietnamese:"vi","tiếng việt":"vi",vi:"vi",vie:"vi","volapük":"vo",vo:"vo",vol:"vo",walloon:"wa",walon:"wa",wa:"wa",wln:"wa",welsh:"cy",cymraeg:"cy",cy:"cy",cym:"cy",wel:"cy",wolof:"wo",wollof:"wo",wo:"wo",wol:"wo","western frisian":"fy",frysk:"fy",fy:"fy",fry:"fy",xhosa:"xh",isixhosa:"xh",xh:"xh",xho:"xh",yiddish:"yi","ייִדיש":"yi",yi:"yi",yid:"yi","yid + 2":"yi",yoruba:"yo","yorùbá":"yo",yo:"yo",yor:"yo","zhuang, chuang":"za","saɯ cueŋƅ, saw cuengh":"za",za:"za",zha:"za","zha + 16":"za","saɯ cueŋƅ":"za","saw cuengh":"za",zulu:"zu",isizulu:"zu",zu:"zu",zul:"zu"};function reduce(from){return reductions[from.toLowerCase()]}function makeTransition(this_se,from,to,isRight,_wasList,_wasIndex){const kind=isRight?arrow_right_kind(this_se.kind):arrow_left_kind(this_se.kind),edge={from:from,to:to,kind:kind,forced_only:kind==="forced",main_path:kind==="main"};const action=isRight?"r_action":"l_action",probability=isRight?"r_probability":"l_probability";if(this_se[action]){edge.action=this_se[action]}if(this_se[probability]){edge.probability=this_se[probability]}return edge}function wrap_parse(input,options){return peg$parse(input,options||{})}function compile_rule_transition_step(acc,from,to,this_se,next_se){const edges=[];const uFrom=Array.isArray(from)?from:[from],uTo=Array.isArray(to)?to:[to];uFrom.map((f=>{uTo.map((t=>{const right=makeTransition(this_se,f,t,true);if(right.kind!=="none"){edges.push(right)}const left=makeTransition(this_se,t,f,false);if(left.kind!=="none"){edges.push(left)}}))}));const new_acc=acc.concat(edges);if(next_se){return compile_rule_transition_step(new_acc,to,next_se.to,next_se,next_se.se)}else{return new_acc}}function compile_rule_handle_transition(rule){return compile_rule_transition_step([],rule.from,rule.se.to,rule.se,rule.se.se)}function compile_rule_handler(rule){if(rule.key==="transition"){return{agg_as:"transition",val:compile_rule_handle_transition(rule)}}if(rule.key==="machine_language"){return{agg_as:"machine_language",val:reduce(rule.value)}}if(rule.key==="property_definition"){const ret={agg_as:"property_definition",val:{name:rule.name}};if(rule.hasOwnProperty("default_value")){ret.val.default_value=rule.default_value}if(rule.hasOwnProperty("required")){ret.val.required=rule.required}return ret}if(rule.key==="state_declaration"){if(!rule.name){throw new JssmError(undefined,"State declarations must have a name")}return{agg_as:"state_declaration",val:{state:rule.name,declarations:rule.value}}}if(["arrange_declaration","arrange_start_declaration","arrange_end_declaration"].includes(rule.key)){return{agg_as:rule.key,val:[rule.value]}}const tautologies=["graph_layout","start_states","end_states","machine_name","machine_version","machine_comment","machine_author","machine_contributor","machine_definition","machine_reference","machine_license","fsl_version","state_config","theme","flow","dot_preamble","allows_override","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_active_state_config","default_terminal_state_config"];if(tautologies.includes(rule.key)){return{agg_as:rule.key,val:rule.value}}throw new JssmError(undefined,`compile_rule_handler: Unknown rule: ${JSON.stringify(rule)}`)}function compile(tree){const results={graph_layout:[],transition:[],start_states:[],end_states:[],state_config:[],state_declaration:[],fsl_version:[],machine_author:[],machine_comment:[],machine_contributor:[],machine_definition:[],machine_language:[],machine_license:[],machine_name:[],machine_reference:[],property_definition:[],state_property:{},theme:[],flow:[],dot_preamble:[],arrange_declaration:[],arrange_start_declaration:[],arrange_end_declaration:[],machine_version:[],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:[]};tree.map((tr=>{const rule=compile_rule_handler(tr),agg_as=rule.agg_as,val=rule.val;results[agg_as]=results[agg_as].concat(val)}));const property_keys=results["property_definition"].map((pd=>pd.name)),repeat_props=find_repeated(property_keys);if(repeat_props.length){throw new JssmError(undefined,`Cannot repeat property definitions. Saw ${JSON.stringify(repeat_props)}`)}const assembled_transitions=[].concat(...results["transition"]);const result_cfg={start_states:results.start_states.length?results.start_states:[assembled_transitions[0].from],end_states:results.end_states,transitions:assembled_transitions,state_property:[]};const oneOnlyKeys=["graph_layout","machine_name","machine_version","machine_comment","fsl_version","machine_license","machine_definition","machine_language","flow","dot_preamble","allows_override"];oneOnlyKeys.map((oneOnlyKey=>{if(results[oneOnlyKey].length>1){throw new JssmError(undefined,`May only have one ${oneOnlyKey} statement maximum: ${JSON.stringify(results[oneOnlyKey])}`)}else{if(results[oneOnlyKey].length){result_cfg[oneOnlyKey]=results[oneOnlyKey][0]}}}));["arrange_declaration","arrange_start_declaration","arrange_end_declaration","machine_author","machine_contributor","machine_reference","theme","state_declaration","property_definition","default_state_config","default_start_state_config","default_end_state_config","default_hooked_state_config","default_terminal_state_config","default_active_state_config"].map((multiKey=>{if(results[multiKey].length){result_cfg[multiKey]=results[multiKey]}}));results.state_declaration.forEach((sd=>{sd.declarations.forEach((decl=>{if(decl.key==="state_property"){const label=name_bind_prop_and_state(decl.name,sd.state);if(result_cfg.state_property.findIndex((c=>c.name===label))!==-1){throw new JssmError(undefined,`A state may only bind a property once (${sd.state} re-binds ${decl.name})`)}else{result_cfg.state_property.push({name:label,default_value:decl.value})}}}))}));return result_cfg}function make(plan){return compile(wrap_parse(plan))}const base_state_style$5={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$5={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$5={shape:"component"};const base_terminal_state_style$5={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$5={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$5={backgroundColor:"yellow"};const base_active_start_state_style$5={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$5={backgroundColor:"yellowgreen"};const base_end_state_style$5={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$5={textColor:"white",backgroundColor:"darkgreen"};const base_theme={name:"base",state:base_state_style$5,start:base_start_state_style$5,end:base_end_state_style$5,terminal:base_terminal_state_style$5,hooked:base_hooked_state_style$5,active:base_active_state_style$5,active_start:base_active_start_state_style$5,active_end:base_active_end_state_style$5,active_terminal:base_active_terminal_state_style$5,active_hooked:base_active_hooked_state_style$5,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$4={shape:"rectangle",backgroundColor:"white",textColor:"black",borderColor:"black"};const base_active_state_style$4={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$4={shape:"component"};const base_terminal_state_style$4={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$4={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$4={backgroundColor:"yellow"};const base_active_start_state_style$4={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$4={backgroundColor:"yellowgreen"};const base_end_state_style$4={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$4={textColor:"white",backgroundColor:"darkgreen"};const default_theme={name:"default",state:base_state_style$4,start:base_start_state_style$4,end:base_end_state_style$4,terminal:base_terminal_state_style$4,hooked:base_hooked_state_style$4,active:base_active_state_style$4,active_start:base_active_start_state_style$4,active_end:base_active_end_state_style$4,active_terminal:base_active_terminal_state_style$4,active_hooked:base_active_hooked_state_style$4,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$3={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style$3={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style$3={shape:"component"};const base_terminal_state_style$3={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style$3={textColor:"white",backgroundColor:"indigo"};const base_start_state_style$3={backgroundColor:"yellow"};const base_active_start_state_style$3={backgroundColor:"yellowgreen"};const base_active_hooked_state_style$3={backgroundColor:"yellowgreen"};const base_end_state_style$3={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style$3={textColor:"white",backgroundColor:"darkgreen"};const modern_theme={name:"modern",state:base_state_style$3,start:base_start_state_style$3,end:base_end_state_style$3,terminal:base_terminal_state_style$3,hooked:base_hooked_state_style$3,active:base_active_state_style$3,active_start:base_active_start_state_style$3,active_end:base_active_end_state_style$3,active_terminal:base_active_terminal_state_style$3,active_hooked:base_active_hooked_state_style$3,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$2={backgroundColor:"cadetblue1"};const base_active_state_style$2={textColor:"white",backgroundColor:"deepskyblue"};const base_hooked_state_style$2={shape:"component",backgroundColor:"mediumaquamarine"};const base_terminal_state_style$2={textColor:"white",backgroundColor:"darkviolet"};const base_active_terminal_state_style$2={textColor:"white",backgroundColor:"deeppink"};const base_start_state_style$2={backgroundColor:"darkseagreen1"};const base_active_start_state_style$2={backgroundColor:"aquamarine"};const base_active_hooked_state_style$2={backgroundColor:"aquamarine"};const base_end_state_style$2={textColor:"white",backgroundColor:"chartreuse1"};const base_active_end_state_style$2={textColor:"white",backgroundColor:"darkgreen"};const ocean_theme={name:"ocean",state:base_state_style$2,start:base_start_state_style$2,end:base_end_state_style$2,terminal:base_terminal_state_style$2,hooked:base_hooked_state_style$2,active:base_active_state_style$2,active_start:base_active_start_state_style$2,active_end:base_active_end_state_style$2,active_terminal:base_active_terminal_state_style$2,active_hooked:base_active_hooked_state_style$2,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_terminal_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_start_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_hooked_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const base_active_end_state_style$1={textColor:"black",backgroundColor:"transparent",shape:"plaintext"};const plain_theme={name:"plain",state:base_state_style$1,start:base_start_state_style$1,end:base_end_state_style$1,terminal:base_terminal_state_style$1,hooked:base_hooked_state_style$1,active:base_active_state_style$1,active_start:base_active_start_state_style$1,active_end:base_active_end_state_style$1,active_terminal:base_active_terminal_state_style$1,active_hooked:base_active_hooked_state_style$1,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const base_state_style={shape:"rectangle",backgroundColor:"khaki",textColor:"black",borderColor:"black"};const base_active_state_style={textColor:"white",backgroundColor:"dodgerblue4"};const base_hooked_state_style={shape:"component"};const base_terminal_state_style={textColor:"white",backgroundColor:"crimson"};const base_active_terminal_state_style={textColor:"white",backgroundColor:"indigo"};const base_start_state_style={backgroundColor:"yellow"};const base_active_start_state_style={backgroundColor:"yellowgreen"};const base_active_hooked_state_style={backgroundColor:"yellowgreen"};const base_end_state_style={textColor:"white",backgroundColor:"darkolivegreen"};const base_active_end_state_style={textColor:"white",backgroundColor:"darkgreen"};const bold_theme={name:"bold",state:base_state_style,start:base_start_state_style,end:base_end_state_style,terminal:base_terminal_state_style,hooked:base_hooked_state_style,active:base_active_state_style,active_start:base_active_start_state_style,active_end:base_active_end_state_style,active_terminal:base_active_terminal_state_style,active_hooked:base_active_hooked_state_style,legal:undefined,main:undefined,forced:undefined,action:undefined,graph:undefined,title:undefined};const theme_mapping=new Map;theme_mapping.set("default",default_theme);theme_mapping.set("modern",modern_theme);theme_mapping.set("ocean",ocean_theme);theme_mapping.set("plain",plain_theme);theme_mapping.set("bold",bold_theme);const NegInfinity=Number.NEGATIVE_INFINITY,PosInfinity=Number.POSITIVE_INFINITY,Epsilon=Number.EPSILON,Pi=Math.PI,E=Math.E,Root2=Math.SQRT2,RootHalf=Math.SQRT1_2,Ln2=Math.LN2,Ln10=Math.LN10,Log2E=Math.LOG2E,Log10E=Math.LOG10E,MaxSafeInt=Number.MAX_SAFE_INTEGER,MinSafeInt=Number.MIN_SAFE_INTEGER,MaxPosNum=Number.MAX_VALUE,MinPosNum=Number.MIN_VALUE,Phi=1.618033988749895,EulerC=.5772156649015329;const gviz_shapes$1=["box3d","polygon","ellipse","oval","circle","point","egg","triangle","plaintext","plain","diamond","trapezium","parallelogram","house","pentagon","hexagon","septagon","octagon","doublecircle","doubleoctagon","tripleoctagon","invtriangle","invtrapezium","invhouse","Mdiamond","Msquare","Mcircle","rectangle","rect","square","star","none","underline","cylinder","note","tab","folder","box","component","promoter","cds","terminator","utr","primersite","restrictionsite","fivepoverhang","threepoverhang","noverhang","assembly","signature","insulator","ribosite","rnastab","proteasesite","proteinstab","rpromoter","rarrow","larrow","lpromoter","record"];const shapes$1=gviz_shapes$1;const named_colors$1=["AliceBlue","AntiqueWhite","Aqua","Aquamarine","Azure","Beige","Bisque","Black","BlanchedAlmond","Blue","BlueViolet","Brown","BurlyWood","CadetBlue","Chartreuse","Chocolate","Coral","CornflowerBlue","Cornsilk","Crimson","Cyan","DarkBlue","DarkCyan","DarkGoldenRod","DarkGray","DarkGrey","DarkGreen","DarkKhaki","DarkMagenta","DarkOliveGreen","Darkorange","DarkOrchid","DarkRed","DarkSalmon","DarkSeaGreen","DarkSlateBlue","DarkSlateGray","DarkSlateGrey","DarkTurquoise","DarkViolet","DeepPink","DeepSkyBlue","DimGray","DimGrey","DodgerBlue","FireBrick","FloralWhite","ForestGreen","Fuchsia","Gainsboro","GhostWhite","Gold","GoldenRod","Gray","Grey","Green","GreenYellow","HoneyDew","HotPink","IndianRed","Indigo","Ivory","Khaki","Lavender","LavenderBlush","LawnGreen","LemonChiffon","LightBlue","LightCoral","LightCyan","LightGoldenRodYellow","LightGray","LightGrey","LightGreen","LightPink","LightSalmon","LightSeaGreen","LightSkyBlue","LightSlateGray","LightSlateGrey","LightSteelBlue","LightYellow","Lime","LimeGreen","Linen","Magenta","Maroon","MediumAquaMarine","MediumBlue","MediumOrchid","MediumPurple","MediumSeaGreen","MediumSlateBlue","MediumSpringGreen","MediumTurquoise","MediumVioletRed","MidnightBlue","MintCream","MistyRose","Moccasin","NavajoWhite","Navy","OldLace","Olive","OliveDrab","Orange","OrangeRed","Orchid","PaleGoldenRod","PaleGreen","PaleTurquoise","PaleVioletRed","PapayaWhip","PeachPuff","Peru","Pink","Plum","PowderBlue","Purple","Red","RosyBrown","RoyalBlue","SaddleBrown","Salmon","SandyBrown","SeaGreen","SeaShell","Sienna","Silver","SkyBlue","SlateBlue","SlateGray","SlateGrey","Snow","SpringGreen","SteelBlue","Tan","Teal","Thistle","Tomato","Turquoise","Violet","Wheat","White","WhiteSmoke","Yellow","YellowGreen"];var constants=Object.freeze({__proto__:null,NegInfinity:NegInfinity,PosInfinity:PosInfinity,Epsilon:Epsilon,Pi:Pi,E:E,Root2:Root2,RootHalf:RootHalf,Ln2:Ln2,Ln10:Ln10,Log2E:Log2E,Log10E:Log10E,MaxSafeInt:MaxSafeInt,MinSafeInt:MinSafeInt,MaxPosNum:MaxPosNum,MinPosNum:MinPosNum,Phi:Phi,EulerC:EulerC,gviz_shapes:gviz_shapes$1,shapes:shapes$1,named_colors:named_colors$1});const version="5.91.0",build_time=1703620444124;const{shapes:shapes,gviz_shapes:gviz_shapes,named_colors:named_colors}=constants;function transfer_state_properties(state_decl){state_decl.declarations.map((d=>{switch(d.key){case"shape":state_decl.shape=d.value;break;case"color":state_decl.color=d.value;break;case"corners":state_decl.corners=d.value;break;case"line-style":state_decl.lineStyle=d.value;break;case"text-color":state_decl.textColor=d.value;break;case"background-color":state_decl.backgroundColor=d.value;break;case"state-label":state_decl.stateLabel=d.value;break;case"border-color":state_decl.borderColor=d.value;break;case"state_property":state_decl.property={name:d.name,value:d.value};break;default:throw new JssmError(undefined,`Unknown state property: '${JSON.stringify(d)}'`)}}));return state_decl}function state_style_condense(jssk){const state_style={};if(Array.isArray(jssk)){jssk.forEach(((key,i)=>{if(typeof key!=="object"){throw new JssmError(this,`invalid state item ${i} in state_style_condense list: ${JSON.stringify(key)}`)}switch(key.key){case"shape":if(state_style.shape!==undefined){throw new JssmError(this,`cannot redefine 'shape' in state_style_condense, already defined`)}state_style.shape=key.value;break;case"color":if(state_style.color!==undefined){throw new JssmError(this,`cannot redefine 'color' in state_style_condense, already defined`)}state_style.color=key.value;break;case"text-color":if(state_style.textColor!==undefined){throw new JssmError(this,`cannot redefine 'text-color' in state_style_condense, already defined`)}state_style.textColor=key.value;break;case"corners":if(state_style.corners!==undefined){throw new JssmError(this,`cannot redefine 'corners' in state_style_condense, already defined`)}state_style.corners=key.value;break;case"line-style":if(state_style.lineStyle!==undefined){throw new JssmError(this,`cannot redefine 'line-style' in state_style_condense, already defined`)}state_style.lineStyle=key.value;break;case"background-color":if(state_style.backgroundColor!==undefined){throw new JssmError(this,`cannot redefine 'background-color' in state_style_condense, already defined`)}state_style.backgroundColor=key.value;break;case"state-label":if(state_style.stateLabel!==undefined){throw new JssmError(this,`cannot redefine 'state-label' in state_style_condense, already defined`)}state_style.stateLabel=key.value;break;case"border-color":if(state_style.borderColor!==undefined){throw new JssmError(this,`cannot redefine 'border-color' in state_style_condense, already defined`)}state_style.borderColor=key.value;break;default:throw new JssmError(this,`unknown state style key in condense: ${key.key}`)}}))}else if(jssk===undefined);else{throw new JssmError(this,"state_style_condense received a non-array")}return state_style}class Machine{constructor({start_states:start_states,end_states:end_states=[],complete:complete=[],transitions:transitions,machine_author:machine_author,machine_comment:machine_comment,machine_contributor:machine_contributor,machine_definition:machine_definition,machine_language:machine_language,machine_license:machine_license,machine_name:machine_name,machine_version:machine_version,state_declaration:state_declaration,property_definition:property_definition,state_property:state_property,fsl_version:fsl_version,dot_preamble:dot_preamble=undefined,arrange_declaration:arrange_declaration=[],arrange_start_declaration:arrange_start_declaration=[],arrange_end_declaration:arrange_end_declaration=[],theme:theme=["default"],flow:flow="down",graph_layout:graph_layout="dot",instance_name:instance_name,history:history,data:data,default_state_config:default_state_config,default_active_state_config:default_active_state_config,default_hooked_state_config:default_hooked_state_config,default_terminal_state_config:default_terminal_state_config,default_start_state_config:default_start_state_config,default_end_state_config:default_end_state_config,allows_override:allows_override,config_allows_override:config_allows_override,rng_seed:rng_seed}){this._instance_name=instance_name;this._state=start_states[0];this._states=new Map;this._state_declarations=new Map;this._edges=[];this._edge_map=new Map;this._named_transitions=new Map;this._actions=new Map;this._reverse_actions=new Map;this._reverse_action_targets=new Map;this._start_states=new Set(start_states);this._end_states=new Set(end_states);this._machine_author=array_box_if_string(machine_author);this._machine_comment=machine_comment;this._machine_contributor=array_box_if_string(machine_contributor);this._machine_definition=machine_definition;this._machine_language=machine_language;this._machine_license=machine_license;this._machine_name=machine_name;this._machine_version=machine_version;this._raw_state_declaration=state_declaration||[];this._fsl_version=fsl_version;this._arrange_declaration=arrange_declaration;this._arrange_start_declaration=arrange_start_declaration;this._arrange_end_declaration=arrange_end_declaration;this._dot_preamble=dot_preamble;this._themes=theme;this._flow=flow;this._graph_layout=graph_layout;this._has_hooks=false;this._has_basic_hooks=false;this._has_named_hooks=false;this._has_entry_hooks=false;this._has_exit_hooks=false;this._has_global_action_hooks=false;this._has_transition_hooks=true;this._has_forced_transitions=false;this._hooks=new Map;this._named_hooks=new Map;this._entry_hooks=new Map;this._exit_hooks=new Map;this._global_action_hooks=new Map;this._any_action_hook=undefined;this._standard_transition_hook=undefined;this._main_transition_hook=undefined;this._forced_transition_hook=undefined;this._any_transition_hook=undefined;this._has_post_hooks=false;this._has_post_basic_hooks=false;this._has_post_named_hooks=false;this._has_post_entry_hooks=false;this._has_post_exit_hooks=false;this._has_post_global_action_hooks=false;this._has_post_transition_hooks=true;this._code_allows_override=allows_override;this._config_allows_override=config_allows_override;if(allows_override===false&&config_allows_override===true){throw new JssmError(undefined,"Code specifies no override, but config tries to permit; config may not be less strict than code")}this._post_hooks=new Map;this._post_named_hooks=new Map;this._post_entry_hooks=new Map;this._post_exit_hooks=new Map;this._post_global_action_hooks=new Map;this._post_any_action_hook=undefined;this._post_standard_transition_hook=undefined;this._post_main_transition_hook=undefined;this._post_forced_transition_hook=undefined;this._post_any_transition_hook=undefined;this._data=data;this._property_keys=new Set;this._default_properties=new Map;this._state_properties=new Map;this._required_properties=new Set;this._state_style=state_style_condense(default_state_config);this._active_state_style=state_style_condense(default_active_state_config);this._hooked_state_style=state_style_condense(default_hooked_state_config);this._terminal_state_style=state_style_condense(default_terminal_state_config);this._start_state_style=state_style_condense(default_start_state_config);this._end_state_style=state_style_condense(default_end_state_config);this._history_length=history||0;this._history=new circular_buffer(this._history_length);this._state_labels=new Map;this._rng_seed=rng_seed!==null&&rng_seed!==void 0?rng_seed:(new Date).getTime();this._rng=gen_splitmix32(this._rng_seed);if(state_declaration){state_declaration.map((state_decl=>{if(this._state_declarations.has(state_decl.state)){throw new JssmError(this,`Added the same state declaration twice: ${JSON.stringify(state_decl.state)}`)}this._state_declarations.set(state_decl.state,transfer_state_properties(state_decl))}))}[...this._state_declarations].map((sd=>{const[key,decl]=sd,labelled=decl.declarations.filter((d=>d.key==="state-label"));if(labelled.length>1){throw new JssmError(this,`state ${key} may only have one state-label; has ${labelled.length}`)}if(labelled.length===1){this._state_labels.set(key,labelled[0].value)}}));transitions.map((tr=>{if(tr.from===undefined){throw new JssmError(this,`transition must define 'from': ${JSON.stringify(tr)}`)}if(tr.to===undefined){throw new JssmError(this,`transition must define 'to': ${JSON.stringify(tr)}`)}const cursor_from=this._states.get(tr.from)||{name:tr.from,from:[],to:[],complete:complete.includes(tr.from)};if(!this._states.has(tr.from)){this._new_state(cursor_from)}const cursor_to=this._states.get(tr.to)||{name:tr.to,from:[],to:[],complete:complete.includes(tr.to)};if(!this._states.has(tr.to)){this._new_state(cursor_to)}if(cursor_from.to.includes(tr.to)){throw new JssmError(this,`already has ${JSON.stringify(tr.from)} to ${JSON.stringify(tr.to)}`)}else{cursor_from.to.push(tr.to);cursor_to.from.push(tr.from)}this._edges.push(tr);const thisEdgeId=this._edges.length-1;if(tr.forced_only){this._has_forced_transitions=true}if(tr.name){if(this._named_transitions.has(tr.name)){throw new JssmError(this,`named transition "${JSON.stringify(tr.name)}" already created`)}else{this._named_transitions.set(tr.name,thisEdgeId)}}const from_mapping=this._edge_map.get(tr.from)||new Map;if(!this._edge_map.has(tr.from)){this._edge_map.set(tr.from,from_mapping)}from_mapping.set(tr.to,thisEdgeId);if(tr.action){let actionMap=this._actions.get(tr.action);if(!actionMap){actionMap=new Map;this._actions.set(tr.action,actionMap)}if(actionMap.has(tr.from)){throw new JssmError(this,`action ${JSON.stringify(tr.action)} already attached to origin ${JSON.stringify(tr.from)}`)}else{actionMap.set(tr.from,thisEdgeId)}let rActionMap=this._reverse_actions.get(tr.from);if(!rActionMap){rActionMap=new Map;this._reverse_actions.set(tr.from,rActionMap)}rActionMap.set(tr.action,thisEdgeId);if(!this._reverse_action_targets.has(tr.to)){this._reverse_action_targets.set(tr.to,new Map)}}}));if(Array.isArray(property_definition)){property_definition.forEach((pr=>{this._property_keys.add(pr.name);if(pr.hasOwnProperty("default_value")){this._default_properties.set(pr.name,pr.default_value)}if(pr.hasOwnProperty("required")&&pr.required===true){this._required_properties.add(pr.name)}}))}if(Array.isArray(state_property)){state_property.forEach((sp=>{this._state_properties.set(sp.name,sp.default_value)}))}this._state_properties.forEach(((_value,key)=>{const inside=JSON.parse(key);if(Array.isArray(inside)){const j_property=inside[0];if(typeof j_property==="string"){const j_state=inside[1];if(typeof j_state==="string"){if(!this.known_prop(j_property)){throw new JssmError(this,`State "${j_state}" has property "${j_property}" which is not globally declared`)}}}}}));this._required_properties.forEach((dp_key=>{if(this._default_properties.has(dp_key)){throw new JssmError(this,`The property "${dp_key}" is required, but also has a default; these conflict`)}this.states().forEach((s=>{const bound_name=name_bind_prop_and_state(dp_key,s);if(!this._state_properties.has(bound_name)){throw new JssmError(this,`State "${s}" is missing required property "${dp_key}"`)}}))}));if(!this.has_state(this.state())){throw new JssmError(this,`Current start state "${this.state()}" does not exist`)}start_states.forEach(((ss,ssi)=>{if(!this.has_state(ss)){throw new JssmError(this,`Start state ${ssi} "${ss}" does not exist`)}}));if(!(start_states.length===this._start_states.size)){throw new JssmError(this,`Start states cannot be repeated`)}}_new_state(state_config){if(this._states.has(state_config.name)){throw new JssmError(this,`state ${JSON.stringify(state_config.name)} already exists`)}this._states.set(state_config.name,state_config);return state_config.name}state(){return this._state}label_for(state){return this._state_labels.get(state)}display_text(state){var _a;return(_a=this._state_labels.get(state))!==null&&_a!==void 0?_a:state}data(){return this._data}prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{return undefined}}strict_prop(name){const bound_name=name_bind_prop_and_state(name,this.state());if(this._state_properties.has(bound_name)){return this._state_properties.get(bound_name)}else if(this._default_properties.has(name)){return this._default_properties.get(name)}else{throw new JssmError(this,`Strictly requested a prop '${name}' which doesn't exist on current state '${this.state()}' and has no default`)}}props(){const ret={};this.known_props().forEach((p=>ret[p]=this.prop(p)));return ret}known_prop(prop_name){return this._property_keys.has(prop_name)}known_props(){return[...this._property_keys]}is_start_state(whichState){return this._start_states.has(whichState)}is_end_state(whichState){return this._end_states.has(whichState)}state_is_final(whichState){return this.state_is_terminal(whichState)||this.state_is_complete(whichState)}is_final(){return this.state_is_final(this.state())}serialize(comment){return{comment:comment,state:this._state,data:this._data,jssm_version:version,history:this._history.toArray(),history_capacity:this._history.capacity,timestamp:(new Date).getTime()}}graph_layout(){return this._graph_layout}dot_preamble(){return this._dot_preamble}machine_author(){return this._machine_author}machine_comment(){return this._machine_comment}machine_contributor(){return this._machine_contributor}machine_definition(){return this._machine_definition}machine_language(){return this._machine_language}machine_license(){return this._machine_license}machine_name(){return this._machine_name}machine_version(){return this._machine_version}raw_state_declarations(){return this._raw_state_declaration}state_declaration(which){return this._state_declarations.get(which)}state_declarations(){return this._state_declarations}fsl_version(){return this._fsl_version}machine_state(){return{internal_state_impl_version:1,actions:this._actions,edge_map:this._edge_map,edges:this._edges,named_transitions:this._named_transitions,reverse_actions:this._reverse_actions,state:this._state,states:this._states}}states(){return Array.from(this._states.keys())}state_for(whichState){const state=this._states.get(whichState);if(state){return state}else{throw new JssmError(this,"No such state",{requested_state:whichState})}}has_state(whichState){return this._states.get(whichState)!==undefined}list_edges(){return this._edges}list_named_transitions(){return this._named_transitions}list_actions(){return Array.from(this._actions.keys())}get uses_actions(){return Array.from(this._actions.keys()).length>0}get uses_forced_transitions(){return this._has_forced_transitions}get code_allows_override(){return this._code_allows_override}get config_allows_override(){return this._config_allows_override}get allows_override(){if(this._code_allows_override===false){if(this._config_allows_override===true){throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code; should be unreachable")}else{return false}}if(this._code_allows_override===true){if(this._config_allows_override===false){return false}else{return true}}if(this._config_allows_override===true){return true}else{return false}}all_themes(){return[...theme_mapping.keys()]}get themes(){return this._themes}set themes(to){if(typeof to==="string"){this._themes=[to]}else{this._themes=to}}flow(){return this._flow}get_transition_by_state_names(from,to){const emg=this._edge_map.get(from);if(emg){return emg.get(to)}else{return undefined}}lookup_transition_for(from,to){const id=this.get_transition_by_state_names(from,to);return id===undefined||id===null?undefined:this._edges[id]}list_transitions(whichState=this.state()){return{entrances:this.list_entrances(whichState),exits:this.list_exits(whichState)}}list_entrances(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{from:undefined};return(_b=guaranteed.from)!==null&&_b!==void 0?_b:[]}list_exits(whichState=this.state()){var _a,_b;const guaranteed=(_a=this._states.get(whichState))!==null&&_a!==void 0?_a:{to:undefined};return(_b=guaranteed.to)!==null&&_b!==void 0?_b:[]}probable_exits_for(whichState){const wstate=this._states.get(whichState);if(!wstate){throw new JssmError(this,`No such state ${JSON.stringify(whichState)} in probable_exits_for`)}const wstate_to=wstate.to,wtf=wstate_to.map((ws=>this.lookup_transition_for(this.state(),ws))).filter(Boolean);return wtf}probabilistic_transition(){const selected=weighted_rand_select(this.probable_exits_for(this.state()),undefined,this._rng);return this.transition(selected.to)}probabilistic_walk(n){return seq(n).map((()=>{const state_was=this.state();this.probabilistic_transition();return state_was})).concat([this.state()])}probabilistic_histo_walk(n){return histograph(this.probabilistic_walk(n))}actions(whichState=this.state()){const wstate=this._reverse_actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_states_having_action(whichState){const wstate=this._actions.get(whichState);if(wstate){return Array.from(wstate.keys())}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}list_exit_actions(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>filtered.action))}probable_action_exits(whichState=this.state()){const ra_base=this._reverse_actions.get(whichState);if(!ra_base){throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}return Array.from(ra_base.values()).map((edgeId=>this._edges[edgeId])).filter((o=>o.from===whichState)).map((filtered=>({action:filtered.action,probability:filtered.probability})))}is_unenterable(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_entrances(whichState).length===0}has_unenterables(){return this.states().some((x=>this.is_unenterable(x)))}is_terminal(){return this.state_is_terminal(this.state())}state_is_terminal(whichState){if(!this.has_state(whichState)){throw new JssmError(this,`No such state ${whichState}`)}return this.list_exits(whichState).length===0}has_terminals(){return this.states().some((x=>this.state_is_terminal(x)))}is_complete(){return this.state_is_complete(this.state())}state_is_complete(whichState){const wstate=this._states.get(whichState);if(wstate){return wstate.complete}else{throw new JssmError(this,`No such state ${JSON.stringify(whichState)}`)}}has_completes(){return this.states().some((x=>this.state_is_complete(x)))}set_hook(HookDesc){switch(HookDesc.kind){case"hook":this._hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_hooks=true;this._has_basic_hooks=true;break;case"named":this._named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_hooks=true;this._has_named_hooks=true;break;case"global action":this._global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_hooks=true;this._has_global_action_hooks=true;break;case"any action":this._any_action_hook=HookDesc.handler;this._has_hooks=true;break;case"standard transition":this._standard_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"main transition":this._main_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"forced transition":this._forced_transition_hook=HookDesc.handler;this._has_transition_hooks=true;this._has_hooks=true;break;case"any transition":this._any_transition_hook=HookDesc.handler;this._has_hooks=true;break;case"entry":this._entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_hooks=true;this._has_entry_hooks=true;break;case"exit":this._exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_hooks=true;this._has_exit_hooks=true;break;case"post hook":this._post_hooks.set(hook_name(HookDesc.from,HookDesc.to),HookDesc.handler);this._has_post_hooks=true;this._has_post_basic_hooks=true;break;case"post named":this._post_named_hooks.set(named_hook_name(HookDesc.from,HookDesc.to,HookDesc.action),HookDesc.handler);this._has_post_hooks=true;this._has_post_named_hooks=true;break;case"post global action":this._post_global_action_hooks.set(HookDesc.action,HookDesc.handler);this._has_post_hooks=true;this._has_post_global_action_hooks=true;break;case"post any action":this._post_any_action_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post standard transition":this._post_standard_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post main transition":this._post_main_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post forced transition":this._post_forced_transition_hook=HookDesc.handler;this._has_post_transition_hooks=true;this._has_post_hooks=true;break;case"post any transition":this._post_any_transition_hook=HookDesc.handler;this._has_post_hooks=true;break;case"post entry":this._post_entry_hooks.set(HookDesc.to,HookDesc.handler);this._has_post_entry_hooks=true;this._has_post_hooks=true;break;case"post exit":this._post_exit_hooks.set(HookDesc.from,HookDesc.handler);this._has_post_exit_hooks=true;this._has_post_hooks=true;break;default:throw new JssmError(this,`Unknown hook type ${HookDesc.kind}, should be impossible`)}}hook(from,to,handler){this.set_hook({kind:"hook",from:from,to:to,handler:handler});return this}hook_action(from,to,action,handler){this.set_hook({kind:"named",from:from,to:to,action:action,handler:handler});return this}hook_global_action(action,handler){this.set_hook({kind:"global action",action:action,handler:handler});return this}hook_any_action(handler){this.set_hook({kind:"any action",handler:handler});return this}hook_standard_transition(handler){this.set_hook({kind:"standard transition",handler:handler});return this}hook_main_transition(handler){this.set_hook({kind:"main transition",handler:handler});return this}hook_forced_transition(handler){this.set_hook({kind:"forced transition",handler:handler});return this}hook_any_transition(handler){this.set_hook({kind:"any transition",handler:handler});return this}hook_entry(to,handler){this.set_hook({kind:"entry",to:to,handler:handler});return this}hook_exit(from,handler){this.set_hook({kind:"exit",from:from,handler:handler});return this}post_hook(from,to,handler){this.set_hook({kind:"post hook",from:from,to:to,handler:handler});return this}post_hook_action(from,to,action,handler){this.set_hook({kind:"post named",from:from,to:to,action:action,handler:handler});return this}post_hook_global_action(action,handler){this.set_hook({kind:"post global action",action:action,handler:handler});return this}post_hook_any_action(handler){this.set_hook({kind:"post any action",handler:handler});return this}post_hook_standard_transition(handler){this.set_hook({kind:"post standard transition",handler:handler});return this}post_hook_main_transition(handler){this.set_hook({kind:"post main transition",handler:handler});return this}post_hook_forced_transition(handler){this.set_hook({kind:"post forced transition",handler:handler});return this}post_hook_any_transition(handler){this.set_hook({kind:"post any transition",handler:handler});return this}post_hook_entry(to,handler){this.set_hook({kind:"post entry",to:to,handler:handler});return this}post_hook_exit(from,handler){this.set_hook({kind:"post exit",from:from,handler:handler});return this}get rng_seed(){return this._rng_seed}set rng_seed(to){if(typeof to==="undefined"){this._rng_seed=(new Date).getTime()}else{this._rng_seed=to}}edges_between(from,to){return this._edges.filter((edge=>edge.from===from&&edge.to===to))}override(newState,newData){if(this.allows_override){if(this._states.has(newState)){this._state=newState;this._data=newData}else{throw new JssmError(this,`Cannot override state to "${newState}", a state that does not exist`)}}else{throw new JssmError(this,"Code specifies no override, but config tries to permit; config may not be less strict than code")}}transition_impl(newStateOrAction,newData,wasForced,wasAction){let valid=false,trans_type,newState,fromAction=undefined;if(wasForced){if(this.valid_force_transition(newStateOrAction,newData)){valid=true;trans_type="forced";newState=newStateOrAction}}else if(wasAction){if(this.valid_action(newStateOrAction,newData)){const edge=this.current_action_edge_for(newStateOrAction);valid=true;trans_type=edge.kind;newState=edge.to;fromAction=newStateOrAction}}else{if(this.valid_transition(newStateOrAction,newData)){if(this._has_transition_hooks){trans_type=this.edges_between(this._state,newStateOrAction)[0].kind}valid=true;newState=newStateOrAction}}const hook_args={data:this._data,action:fromAction,from:this._state,to:newState,next_data:newData,forced:wasForced,trans_type:trans_type};if(valid){if(this._has_hooks){function update_fields(res){if(res.hasOwnProperty("data")){hook_args.data=res.data;hook_args.next_data=res.next_data;data_changed=true}}let data_changed=false;if(wasAction){const outcome=abstract_hook_step(this._any_action_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome);const outcome2=abstract_hook_step(this._global_action_hooks.get(newStateOrAction),hook_args);if(outcome2.pass===false){return false}update_fields(outcome2)}if(this._any_transition_hook!==undefined){const outcome=abstract_hook_step(this._any_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_exit_hooks){const outcome=abstract_hook_step(this._exit_hooks.get(this._state),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_named_hooks){if(wasAction){const nhn=named_hook_name(this._state,newState,newStateOrAction),outcome=abstract_hook_step(this._named_hooks.get(nhn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}}if(this._has_basic_hooks){const hn=hook_name(this._state,newState),outcome=abstract_hook_step(this._hooks.get(hn),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="legal"){const outcome=abstract_hook_step(this._standard_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="main"){const outcome=abstract_hook_step(this._main_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(trans_type==="forced"){const outcome=abstract_hook_step(this._forced_transition_hook,hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._has_entry_hooks){const outcome=abstract_hook_step(this._entry_hooks.get(newState),hook_args);if(outcome.pass===false){return false}update_fields(outcome)}if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState;if(data_changed){this._data=hook_args.data}}else{if(this._history_length){this._history.shove([this._state,this._data])}this._state=newState}}else{return false}if(this._has_post_hooks){if(wasAction){if(this._post_any_action_hook!==undefined){this._post_any_action_hook(hook_args)}const pgah=this._post_global_action_hooks.get(hook_args.action);if(pgah!==undefined){pgah(hook_args)}}if(this._post_any_transition_hook!==undefined){this._post_any_transition_hook(hook_args)}if(this._has_post_exit_hooks){const peh=this._post_exit_hooks.get(hook_args.from);if(peh!==undefined){peh(hook_args)}}if(this._has_post_named_hooks){if(wasAction){const nhn=named_hook_name(hook_args.from,hook_args.to,hook_args.action),pnh=this._post_named_hooks.get(nhn);if(pnh!==undefined){pnh(hook_args)}}}if(this._has_post_basic_hooks){const hook=this._post_hooks.get(hook_name(hook_args.from,hook_args.to));if(hook!==undefined){hook(hook_args)}}if(trans_type==="legal"){if(this._post_standard_transition_hook!==undefined){this._post_standard_transition_hook(hook_args)}}if(trans_type==="main"){if(this._post_main_transition_hook!==undefined){this._post_main_transition_hook(hook_args)}}if(trans_type==="forced"){if(this._post_forced_transition_hook!==undefined){this._post_forced_transition_hook(hook_args)}}if(this._has_post_entry_hooks){const hook=this._post_entry_hooks.get(hook_args.to);if(hook!==undefined){hook(hook_args)}}}return true}get history(){return this._history.toArray()}get history_inclusive(){const ret=this._history.toArray();ret.push([this.state(),this.data()]);return ret}get history_length(){return this._history_length}set history_length(to){this._history_length=to;this._history.resize(to,true)}action(actionName,newData){return this.transition_impl(actionName,newData,false,true)}get standard_state_style(){return this._state_style}get hooked_state_style(){return this._hooked_state_style}get start_state_style(){return this._start_state_style}get end_state_style(){return this._end_state_style}get terminal_state_style(){return this._terminal_state_style}get active_state_style(){return this._active_state_style}style_for(state){const themes=[];this._themes.forEach((th=>{const theme_impl=theme_mapping.get(th);if(theme_impl!==undefined){themes.push(theme_impl)}}));const layers=[base_theme.state];themes.reverse().map((theme=>{if(theme.state){layers.push(theme.state)}}));if(this._state_style){layers.push(this._state_style)}if(this.state_is_terminal(state)){layers.push(base_theme.terminal);themes.map((theme=>{if(theme.terminal){layers.push(theme.terminal)}}));if(this._terminal_state_style){layers.push(this._terminal_state_style)}}if(this.is_start_state(state)){layers.push(base_theme.start);themes.map((theme=>{if(theme.start){layers.push(theme.start)}}));if(this._start_state_style){layers.push(this._start_state_style)}}if(this.is_end_state(state)){layers.push(base_theme.end);themes.map((theme=>{if(theme.end){layers.push(theme.end)}}));if(this._end_state_style){layers.push(this._end_state_style)}}if(this.state()===state){layers.push(base_theme.active);themes.map((theme=>{if(theme.active){layers.push(theme.active)}}));if(this._active_state_style){layers.push(this._active_state_style)}}const individual_style={},decl=this._state_declarations.get(state);individual_style.color=decl===null||decl===void 0?void 0:decl.color;individual_style.textColor=decl===null||decl===void 0?void 0:decl.textColor;individual_style.borderColor=decl===null||decl===void 0?void 0:decl.borderColor;individual_style.backgroundColor=decl===null||decl===void 0?void 0:decl.backgroundColor;individual_style.lineStyle=decl===null||decl===void 0?void 0:decl.lineStyle;individual_style.corners=decl===null||decl===void 0?void 0:decl.corners;individual_style.shape=decl===null||decl===void 0?void 0:decl.shape;layers.push(individual_style);return layers.reduce(((acc,cur)=>{const composite_state=acc;Object.keys(cur).forEach((key=>{var _a;return composite_state[key]=(_a=cur[key])!==null&&_a!==void 0?_a:composite_state[key]}));return composite_state}),{})}do(actionName,newData){return this.transition_impl(actionName,newData,false,true)}transition(newState,newData){return this.transition_impl(newState,newData,false,false)}go(newState,newData){return this.transition_impl(newState,newData,false,false)}force_transition(newState,newData){return this.transition_impl(newState,newData,true,false)}current_action_for(action){const action_base=this._actions.get(action);return action_base?action_base.get(this.state()):undefined}current_action_edge_for(action){const idx=this.current_action_for(action);if(idx===undefined||idx===null){throw new JssmError(this,`No such action ${JSON.stringify(action)}`)}return this._edges[idx]}valid_action(action,_newData){return this.current_action_for(action)!==undefined}valid_transition(newState,_newData){const transition_for=this.lookup_transition_for(this.state(),newState);if(!transition_for){return false}if(transition_for.forced_only){return false}return true}valid_force_transition(newState,_newData){return this.lookup_transition_for(this.state(),newState)!==undefined}instance_name(){return this._instance_name}sm(template_strings,...remainder){return sm(template_strings,...remainder)}}function sm(template_strings,...remainder){return new Machine(make(template_strings.reduce(((acc,val,idx)=>`${acc}${remainder[idx-1]}${val}`))))}function from(MachineAsString,ExtraConstructorFields){const to_decorate=make(MachineAsString);if(ExtraConstructorFields!==undefined){Object.keys(ExtraConstructorFields).map((key=>{if(key==="allows_override"){to_decorate["config_allows_override"]=ExtraConstructorFields["allows_override"]}else{to_decorate[key]=ExtraConstructorFields[key]}}))}return new Machine(to_decorate)}function is_hook_complex_result(hr){if(typeof hr==="object"){if(typeof hr.pass==="boolean"){return true}}return false}function is_hook_rejection(hr){if(hr===true){return false}if(hr===undefined){return false}if(hr===false){return true}if(is_hook_complex_result(hr)){return!hr.pass}throw new TypeError("unknown hook rejection type result")}function abstract_hook_step(maybe_hook,hook_args){if(maybe_hook!==undefined){const result=maybe_hook(hook_args);if(result===undefined){return{pass:true}}if(result===true){return{pass:true}}if(result===false){return{pass:false}}if(is_hook_complex_result(result)){return result}throw new TypeError(`Unknown hook result type ${result}`)}else{return{pass:true}}}function deserialize(machine_string,ser){const machine=from(machine_string,{data:ser.data,history:ser.history_capacity});machine._state=ser.state;ser.history.forEach((history_item=>machine._history.push(history_item)));return machine}exports.FslDirections=FslDirections;exports.Machine=Machine;exports.abstract_hook_step=abstract_hook_step;exports.arrow_direction=arrow_direction;exports.arrow_left_kind=arrow_left_kind;exports.arrow_right_kind=arrow_right_kind;exports.build_time=build_time;exports.compile=compile;exports.constants=constants;exports.deserialize=deserialize;exports.find_repeated=find_repeated;exports.from=from;exports.gviz_shapes=gviz_shapes;exports.histograph=histograph;exports.is_hook_complex_result=is_hook_complex_result;exports.is_hook_rejection=is_hook_rejection;exports.make=make;exports.named_colors=named_colors;exports.parse=wrap_parse;exports.seq=seq;exports.shapes=shapes;exports.sm=sm;exports.state_style_condense=state_style_condense;exports.transfer_state_properties=transfer_state_properties;exports.unique=unique;exports.version=version;exports.weighted_histo_key=weighted_histo_key;exports.weighted_rand_select=weighted_rand_select;exports.weighted_sample_select=weighted_sample_select;Object.defineProperty(exports,"__esModule",{value:true});return exports}({}); diff --git a/docs/docs/classes/jssm.Machine.html b/docs/docs/classes/jssm.Machine.html index 4da225d8..04181860 100644 --- a/docs/docs/classes/jssm.Machine.html +++ b/docs/docs/classes/jssm.Machine.html @@ -1,16 +1,16 @@ -Machine | JSSM, a JavaScript state machine - the FSM for FSL
      Options
      All
      • Public
      • Public/Protected
      • All
      Menu

      Type Parameters

      • mDT

      Hierarchy

      • Machine

      Index

      Constructors

      Properties

      Accessors

      Methods

      Constructors

      Properties

      _actions: Map<string, Map<string, number>>
      _active_state_style: Partial<JssmStateDeclaration>
      _any_action_hook: HookHandler<mDT>
      _any_transition_hook: HookHandler<mDT>
      _arrange_declaration: string[][]
      _arrange_end_declaration: string[][]
      _arrange_start_declaration: string[][]
      _code_allows_override: JssmAllowsOverride
      _config_allows_override: JssmAllowsOverride
      _data?: mDT
      _default_properties: Map<string, any>
      _dot_preamble: string
      _edge_map: Map<string, Map<string, number>>
      _edges: JssmTransition<string, mDT>[]
      _end_state_style: Partial<JssmStateDeclaration>
      _end_states: Set<string>
      _entry_hooks: Map<string, HookHandler<mDT>>
      _exit_hooks: Map<string, HookHandler<mDT>>
      _flow: "up" | "right" | "down" | "left"
      _forced_transition_hook: HookHandler<mDT>
      _fsl_version?: string
      _global_action_hooks: Map<string, HookHandler<mDT>>
      _graph_layout: JssmLayout
      _has_basic_hooks: boolean
      _has_entry_hooks: boolean
      _has_exit_hooks: boolean
      _has_forced_transitions: boolean
      _has_global_action_hooks: boolean
      _has_hooks: boolean
      _has_named_hooks: boolean
      _has_post_basic_hooks: boolean
      _has_post_entry_hooks: boolean
      _has_post_exit_hooks: boolean
      _has_post_global_action_hooks: boolean
      _has_post_hooks: boolean
      _has_post_named_hooks: boolean
      _has_post_transition_hooks: boolean
      _has_transition_hooks: boolean
      _history: JssmHistory<mDT>
      _history_length: number
      _hooked_state_style: Partial<JssmStateDeclaration>
      _hooks: Map<string, HookHandler<mDT>>
      _instance_name: string
      _machine_author?: string[]
      _machine_comment?: string
      _machine_contributor?: string[]
      _machine_definition?: string
      _machine_language?: string
      _machine_license?: string
      _machine_name?: string
      _machine_version?: string
      _main_transition_hook: HookHandler<mDT>
      _named_hooks: Map<string, HookHandler<mDT>>
      _named_transitions: Map<string, number>
      _post_any_action_hook: HookHandler<mDT>
      _post_any_transition_hook: HookHandler<mDT>
      _post_entry_hooks: Map<string, HookHandler<mDT>>
      _post_exit_hooks: Map<string, HookHandler<mDT>>
      _post_forced_transition_hook: HookHandler<mDT>
      _post_global_action_hooks: Map<string, HookHandler<mDT>>
      _post_hooks: Map<string, HookHandler<mDT>>
      _post_main_transition_hook: HookHandler<mDT>
      _post_named_hooks: Map<string, HookHandler<mDT>>
      _post_standard_transition_hook: HookHandler<mDT>
      _property_keys: Set<string>
      _raw_state_declaration?: <internal>.Object[]
      _required_properties: Set<string>
      _reverse_action_targets: Map<string, Map<string, number>>
      _reverse_actions: Map<string, Map<string, number>>
      _rng: JssmRng
      _rng_seed: number
      _standard_transition_hook: HookHandler<mDT>
      _start_state_style: Partial<JssmStateDeclaration>
      _start_states: Set<string>
      _state: string
      _state_declarations: Map<string, JssmStateDeclaration>
      _state_labels: Map<string, string>
      _state_properties: Map<string, any>
      _states: Map<string, JssmGenericState>
      _terminal_state_style: Partial<JssmStateDeclaration>
      _themes: ("default" | "modern" | "ocean" | "bold" | "plain")[]

      Accessors

      • actions(whichState?: string): string[]

      Returns boolean

    • actions(whichState?: string): string[]
    • List all actions available from this state. Please note that the order of the actions is not guaranteed.

      import { sm } from 'jssm';

      const machine = sm`
      red 'next' -> green 'next' -> yellow 'next' -> red;
      [red yellow green] 'shutdown' ~> off 'start' -> red;
      `;

      console.log( machine.state() ); // logs 'red'
      console.log( machine.actions() ); // logs ['next', 'shutdown']

      machine.action('next'); // true
      console.log( machine.state() ); // logs 'green'
      console.log( machine.actions() ); // logs ['next', 'shutdown']

      machine.action('shutdown'); // true
      console.log( machine.state() ); // logs 'off'
      console.log( machine.actions() ); // logs ['start']

      machine.action('start'); // true
      console.log( machine.state() ); // logs 'red'
      console.log( machine.actions() ); // logs ['next', 'shutdown']

      Parameters

      • whichState: string = ...

        The state whose actions to have listed

        -

      Returns string[]

    • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
    • current_action_for(action: string): number
    • data(): mDT

    Returns string[]

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index 5d72b911..ad4ab803 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index ad4ab803..f86cb256 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index f86cb256..fa95d6e6 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>

  • all_themes(): ("default" | "modern" | "ocean" | "bold" | "plain")[]
  • current_action_for(action: string): number
  • data(): mDT
  • Get the current data of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;', {data: 1});
    console.log( lswitch.data() ); // 1
    -

    Returns mDT

  • display_text(state: string): string
  • display_text(state: string): string
  • Get whatever the node should show as text.

    Currently, this means to get the label for a given state, if any; otherwise to return the node's name. However, this definition is expected @@ -115,7 +115,7 @@

    See also label_for.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.display_text('a') ); // 'Foo!'
    console.log( lswitch.display_text('b') ); // 'b'
    -

    Parameters

    • state: string

    Returns string

  • do(actionName: string, newData?: mDT): boolean
  • do(actionName: string, newData?: mDT): boolean
  • Instruct the machine to complete an action. Synonym for action.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.do('start'); // true
    light.state(); // 'red'
    light.do('next'); // true
    light.state(); // 'green'
    light.do('next'); // true
    light.state(); // 'yellow'
    light.do('dance'); // !! false - no such action
    light.state(); // 'yellow'
    light.do('start'); // !! false - yellow does not have the action start
    light.state(); // 'yellow'
    @@ -123,7 +123,7 @@

    The action to engage

  • Optional newData: mDT

    The data change to insert during the action

    -

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean

Returns boolean

  • dot_preamble(): string
  • edges_between(from: string, to: string): JssmTransition<string, mDT>[]
  • flow(): "up" | "right" | "down" | "left"
  • force_transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a forced transition (which will reject if called with a normal transition call.)

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.transition('off'); // false
    light.state(); // 'red'
    light.force_transition('off'); // true
    light.state(); // 'off' @@ -132,7 +132,7 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean

Returns boolean

  • fsl_version(): string
  • get_transition_by_state_names(from: string, to: string): number
  • go(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for transition.

    const light = sm`red -> green -> yellow -> red; [red yellow green] 'shutdown' ~> off 'start' -> red;`;

    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    @@ -140,53 +140,53 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean

Returns boolean

  • graph_layout(): string
  • has_completes(): boolean
  • has_state(whichState: string): boolean
  • Check whether the machine knows a given state.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');

    console.log( lswitch.has_state('off') ); // true
    console.log( lswitch.has_state('dance') ); // false

    Parameters

    • whichState: string

      The state to be checked for extance

      -

    Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean

Returns boolean

  • has_terminals(): boolean
  • has_unenterables(): boolean
  • hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • instance_name(): string
  • is_complete(): boolean
  • is_end_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_end_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // false
    console.log( final_test.is_start_state('b') ); // true

    const example = sm`end_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_final(): boolean

Returns boolean

  • is_final(): boolean
  • Check whether the current state is final (either has no exits or is marked complete.)

    import { sm, is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.is_final() ); // false
    state.transition('second');
    console.log( final_test.is_final() ); // true
    -

    Returns boolean

  • is_start_state(whichState: string): boolean
  • is_start_state(whichState: string): boolean
  • Check whether a given state is a valid start state (either because it was explicitly named as such, or because it was the first mentioned state.)

    import { sm, is_start_state } from 'jssm';

    const example = sm`a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // false

    const example = sm`start_states: [a b]; a -> b;`;

    console.log( final_test.is_start_state('a') ); // true
    console.log( final_test.is_start_state('b') ); // true

    Parameters

    • whichState: string

      The name of the state to check

      -

    Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean

Returns boolean

  • is_terminal(): boolean
  • is_unenterable(whichState: string): boolean
  • known_prop(prop_name: string): boolean
  • Check whether a given string is a known property's name.

    const example = sm`property foo default 1; a->b;`;

    example.known_prop('foo'); // true
    example.known_prop('bar'); // false

    Parameters

    • prop_name: string

      The relevant property name to look up

      -

    Returns boolean

  • known_props(): string[]

Returns boolean

  • known_props(): string[]
  • List all known property names. If you'd also like values, use props instead. The order of the properties is not defined, and the properties generally will not be sorted.

    
     
    -

    Returns string[]

  • label_for(state: string): string
  • label_for(state: string): string
  • Get the label for a given state, if any; return undefined otherwise.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('a -> b; state a: { label: "Foo!"; };');
    console.log( lswitch.label_for('a') ); // 'Foo!'
    console.log( lswitch.label_for('b') ); // undefined

    See also display_text.

    -

    Parameters

    • state: string

    Returns string

  • list_actions(): string[]
  • list_actions(): string[]
  • Lists all edges of a machine.

    import { sm } from 'jssm';

    const lswitch = sm`on 'toggle' <=> 'toggle' off;`;

    lswitch.list_edges();
    [
    {
    from: 'on',
    to: 'off',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    },
    {
    from: 'off',
    to: 'on',
    kind: 'main',
    forced_only: false,
    main_path: true,
    action: 'toggle'
    }
    ]
    -

    Returns JssmTransition<string, mDT>[]

  • list_entrances(whichState?: string): string[]
  • list_entrances(whichState?: string): string[]
  • List all entrances attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced entrances; if this isn't desired, consider @@ -196,7 +196,7 @@

    Parameters

    • whichState: string = ...

      The state whose entrances to have listed

      -

    Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]

Returns string[]

  • list_exit_actions(whichState?: string): string[]
  • list_exits(whichState?: string): string[]
  • List all exits attached to the current state. Please note that the order of the list is not defined. This list includes both unforced and forced exits; if this isn't desired, consider {@link list_unforced_exits} or @@ -205,14 +205,14 @@

    Parameters

    • whichState: string = ...

      The state whose exits to have listed

      -

    Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]

Returns string[]

  • list_named_transitions(): Map<string, number>
  • list_states_having_action(whichState: string): string[]
  • List all states that have a specific action attached. Please note that the order of the states is not guaranteed.

    import { sm } from 'jssm';

    const machine = sm`
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off 'start' -> red;
    `;

    console.log( machine.list_states_having_action('next') ); // ['red', 'green', 'yellow']
    console.log( machine.list_states_having_action('start') ); // ['off']

    Parameters

    • whichState: string

      The action to be checked for associated states

      -

    Returns string[]

Returns string[]

  • List all transitions attached to the current state, sorted by entrance and exit. The order of each sublist is not defined. A node could appear in both lists.

    @@ -220,11 +220,11 @@

    Parameters

    • whichState: string = ...

      The state whose transitions to have listed

      -

    Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void

Returns JssmTransitionList

  • lookup_transition_for(from: string, to: string): JssmTransition<string, mDT>
  • machine_author(): string[]
  • machine_comment(): string
  • machine_contributor(): string[]
  • machine_definition(): string
  • machine_language(): string
  • machine_license(): string
  • machine_name(): string
  • machine_version(): string
  • override(newState: string, newData?: mDT): void
  • Replace the current state and data with no regard to the graph.

    import { sm } from 'jssm';

    const machine = sm`a -> b -> c;`;
    console.log( machine.state() ); // 'a'

    machine.go('b');
    machine.go('c');
    console.log( machine.state() ); // 'c'

    machine.override('a');
    console.log( machine.state() ); // 'a'
    -

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • +

    Parameters

    • newState: string
    • Optional newData: mDT

    Returns void

  • post_hook_action(from: string, to: string, action: string, handler: HookHandler<mDT>): Machine<mDT>
  • probabilistic_histo_walk(n: number): Map<string, number>
  • probabilistic_transition(): boolean
  • probabilistic_walk(n: number): string[]
  • probable_action_exits(whichState?: string): any[]
  • prop(name: string): any
  • Get the current value of a given property name.

    
     
    @@ -232,35 +232,35 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • props(): object
  • props(): object
  • Get the current value of every prop, as an object. If no current definition exists for a prop - that is, if the prop was defined without a default and the current state also doesn't define the prop - then that prop will be listed in the returned object with a value of undefined.

    const traffic_light = sm`

    property can_go default true;
    property hesitate default true;
    property stop_first default false;

    Off -> Red => Green => Yellow => Red;
    [Red Yellow Green] ~> [Off FlashingRed];
    FlashingRed -> Red;

    state Red: { property stop_first true; property can_go false; };
    state Off: { property stop_first true; };
    state FlashingRed: { property stop_first true; };
    state Green: { property hesitate false; };

    `;

    traffic_light.state(); // Off
    traffic_light.props(); // { can_go: true, hesitate: true, stop_first: true; }

    traffic_light.go('Red');
    traffic_light.props(); // { can_go: false, hesitate: true, stop_first: true; }

    traffic_light.go('Green');
    traffic_light.props(); // { can_go: true, hesitate: false, stop_first: false; }
    -

    Returns object

  • Serialize the current machine, including all defining state but not the machine string, to a structure. This means you will need the machine string to recreate (to not waste repeated space;) if you want the machine string embedded, call {@link serialize_with_string} instead.

    -

    Parameters

    • Optional comment: string

    Returns JssmSerialization<mDT>

  • state(): string
  • state(): string
  • Get the current state of a machine.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.state() ); // 'on'

    lswitch.transition('off');
    console.log( lswitch.state() ); // 'off'
    -

    Returns string

  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • state_is_complete(whichState: string): boolean
  • state_is_final(whichState: string): boolean
  • Check whether a given state is final (either has no exits or is marked complete.)

    import { sm, state_is_final } from 'jssm';

    const final_test = sm`first -> second;`;

    console.log( final_test.state_is_final('first') ); // false
    console.log( final_test.state_is_final('second') ); // true

    Parameters

    • whichState: string

      The name of the state to check for finality

      -

    Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]

Returns boolean

  • state_is_terminal(whichState: string): boolean
  • states(): string[]
  • List all the states known by the machine. Please note that the order of these states is not guaranteed.

    import * as jssm from 'jssm';

    const lswitch = jssm.from('on <=> off;');
    console.log( lswitch.states() ); // ['on', 'off']
    -

    Returns string[]

  • strict_prop(name: string): any
  • strict_prop(name: string): any
  • Get the current value of a given property name. If missing on the state and without a global default, throw, unlike prop, which would return undefined instead.

    @@ -270,7 +270,7 @@

    The relevant property name to look up

Returns any

The value behind the prop name. Because functional props are evaluated as getters, this can be anything.

-
  • Gets the composite style for a specific node by individually imposing the style layers on a given object, after determining which layers are appropriate.

    @@ -281,7 +281,7 @@ terminal styles; then the start styles; then the end styles; finally, the active styles. Remember, last wins.

    The base state style must exist. All other styles are optional.

    -

    Parameters

    • state: string

    Returns Partial<JssmStateDeclaration>

  • transition(newState: string, newData?: mDT): boolean
  • transition(newState: string, newData?: mDT): boolean
  • Instruct the machine to complete a transition. Synonym for go.

    const light = sm`
    off 'start' -> red;
    red 'next' -> green 'next' -> yellow 'next' -> red;
    [red yellow green] 'shutdown' ~> off;
    `;

    light.state(); // 'off'
    light.go('red'); // true
    light.state(); // 'red'
    light.go('green'); // true
    light.state(); // 'green'
    light.go('blue'); // !! false - no such state
    light.state(); // 'green'
    light.go('red'); // !! false - green may not go directly to red, only to yellow
    light.state(); // 'green'
    @@ -289,4 +289,4 @@

    The state to switch to

  • Optional newData: mDT

    The data change to insert during the transition

    -

Returns boolean

  • transition_impl(newStateOrAction: string, newData: mDT, wasForced: boolean, wasAction: boolean): boolean
  • Parameters

    • newStateOrAction: string
    • newData: mDT
    • wasForced: boolean
    • wasAction: boolean

    Returns boolean

  • valid_action(action: string, _newData?: mDT): boolean
  • valid_force_transition(newState: string, _newData?: mDT): boolean
  • valid_transition(newState: string, _newData?: mDT): boolean

Generated using TypeDoc

\ No newline at end of file +

Returns boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/docs/classes/jssm_error.JssmError.html b/docs/docs/classes/jssm_error.JssmError.html index fa95d6e6..cd137ac8 100644 --- a/docs/docs/classes/jssm_error.JssmError.html +++ b/docs/docs/classes/jssm_error.JssmError.html @@ -1,4 +1,4 @@ -JssmError | JSSM, a JavaScript state machine - the FSM for FSL
Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

base_message: string
message: string
name: string
requested_state: string
stack?: string
prepareStackTrace?: ((err: <internal>.Error, stackTraces: CallSite[]) => any)

Type declaration

  • Compile a machine's JSON intermediate representation to a config object. If you're using this (probably don't,) you're probably also using parse to get the IR, and the object constructor @@ -43,7 +43,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • tree: JssmParseTree<StateType, mDT>

    The parse tree to be boiled down into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • Create a state machine from an implementation string. This is one of the two main paths for working with JSSM, alongside sm.

    Use this method when you want to conveniently pull a state machine from a @@ -57,7 +57,7 @@

    Hey!

    The FSL code to evaluate

  • Optional ExtraConstructorFields: Partial<JssmGenericConfig<string, mDT>>

    Extra non-code configuration to pass at creation time

    -

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean

Returns Machine<mDT>

  • is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean
  • An internal convenience wrapper for parsing then compiling a machine string. Not generally meant for external use. Please see compile or sm.

    @@ -65,7 +65,7 @@

    Hey!

    The type of the machine data member; usually omitted

Parameters

  • plan: string

    The FSL code to be evaluated and built into a machine config

    -

Returns JssmGenericConfig<StateType, mDT>

Returns JssmGenericConfig<StateType, mDT>

  • This method wraps the parser call that comes from the peg grammar, parse. Generally neither this nor that should be used directly unless you mean to develop plugins or extensions for the machine.

    @@ -96,7 +96,7 @@

    Hey!

    The FSL code to be evaluated

  • Optional options: <internal>.Object

    Things to control about the instance

    -

Returns any

Returns any

  • Create a state machine from a template string. This is one of the two main paths for working with JSSM, alongside from.

    Use this method when you want to work directly and conveniently with a @@ -110,7 +110,7 @@

    Hey!

    The assembled code

  • Rest ...remainder: any[]

    The mechanic for template argument insertion

    -

Returns Machine<mDT>

Returns Machine<mDT>